Skip to content

Commit

Permalink
enable cachix
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-martin committed Apr 5, 2024
1 parent ace145f commit 4fcd156
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,17 @@ jobs:
strategy:
matrix:
runner:
- macos-latest
- ubuntu-latest
- ubuntu-latest-4-cores
runs-on: ${{ matrix.runner }}
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v22
- uses: cachix/cachix-action@v14
with:
name: freckle-flakes
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- uses: DeterminateSystems/magic-nix-cache-action@v2
- name: Check
# Build parallelism is reduced here to increase probability of build success.
# This decision is influenced by the opinion that the speed of CI is not very
# important for this repository.
run: nix flake check ./main --max-jobs 1
# run: nix flake check ./main
run: nix build ./main#aws-cli-default
run: nix build ./main#ghc-9-4-6

0 comments on commit 4fcd156

Please sign in to comment.