Skip to content

Replace magic-nix-cache-action #591

Replace magic-nix-cache-action

Replace magic-nix-cache-action #591

Workflow file for this run

name: Test
on:
- push
- pull_request
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: nixbuild/nix-quick-install-action@v30
- uses: nix-community/cache-nix-action@v6
with:
primary-key: nix-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('**/*.nix', '**/flake.lock') }}
restore-prefixes-first-match: nix-${{ runner.os }}-${{ runner.arch }}
- run: |
nix develop --command npm install
nix develop --command make lint
nix develop --command make test