Skip to content

Add GitHub Action

Add GitHub Action #2

Workflow file for this run

name: "nix-build"
on: [pull_request, push]

Check failure on line 2 in .github/workflows/nix-build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/nix-build.yml

Invalid workflow file

You have an error in your yaml syntax on line 2
paths-ignore:
- 'README.md'
jobs:
nix-flake-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v22
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: nix build -L