Skip to content

Commit

Permalink
ci: use nix-fast-build
Browse files Browse the repository at this point in the history
  • Loading branch information
xanderio committed Apr 15, 2024
1 parent 8c681b2 commit 7ad7e1a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,22 @@ on:
- "main"
jobs:
tests:
strategy:
matrix:
system: [ "x86_64-linux", "aarch64-linux"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v2
- uses: cachix/install-nix-action@v25
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
extra_nix_config: |
accept-flake-config = true
extra-platforms = aarch64-linux
- uses: cachix/cachix-action@v14
with:
name: entropia
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
extraPullNames: nix-community
- run: nix flake check
- run: nix run github:Mic92/nix-fast-build -- --skip-cached --no-nom --flake .#checks.${{ matrix.system }}

0 comments on commit 7ad7e1a

Please sign in to comment.