File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : " Setup Nix"
2+ description : " Install and configure Nix for Github Actions"
3+ runs :
4+ using : " composite"
5+ steps :
6+ - uses : nixbuild/nix-quick-install-action@v34
7+ - uses : nix-community/cache-nix-action@v7
8+ with :
9+ # restore and save a cache using this key
10+ primary-key : nix-${{ runner.os }}-${{ hashFiles('**/*.nix', '**/flake.lock') }}
11+ # if there's no cache hit, restore a cache by this prefix
12+ restore-prefixes-first-match : nix-${{ runner.os }}-
Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+ workflow_dispatch :
9+
10+ jobs :
11+ ci :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v6
15+ - uses : ./.github/actions/setup-nix
16+
17+ - name : Run lint
18+ run : nix develop --command bash -c "make check"
You can’t perform that action at this time.
0 commit comments