Skip to content

build(deps): bump DeterminateSystems/magic-nix-cache-action from 6 to 7 in /.github/workflows #141

build(deps): bump DeterminateSystems/magic-nix-cache-action from 6 to 7 in /.github/workflows

build(deps): bump DeterminateSystems/magic-nix-cache-action from 6 to 7 in /.github/workflows #141

Workflow file for this run

name: Build
on:
push:
paths:
- '**.nix'
- '**.rs'
- Cargo.*
- completions/**
- flake.lock
- man/**
pull_request:
workflow_dispatch:
jobs:
hsize:
name: hsize
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
include:
- system: aarch64-linux
- system: armv7l-linux
- system: i686-linux
- system: x86_64-linux
steps:
- name: Clone repository
uses: actions/checkout@v4
with:
token: ${{ secrets.PAT }}
- name: Install QEMU
run: |
sudo apt update -y
sudo apt install -y qemu-user-static
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v11
with:
extra-conf: |
log-lines = 500
substituters = https://cache.garnix.io https://cache.armv7l.xyz
trusted-public-keys = cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g= cache.armv7l.xyz-1:kBY/eGnBAYiqYfg0fy0inWhshUo+pGFM3Pj7kIkmlBk=
- name: Set up Cachix
uses: cachix/cachix-action@v15
with:
name: errornobinaries
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- name: Build for ${{ matrix.system }}
run: nix build -L --system ${{ matrix.system }}