diff options
Diffstat (limited to '.github/workflows/check.yml')
| -rw-r--r-- | .github/workflows/check.yml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml new file mode 100644 index 0000000..2d516de --- /dev/null +++ b/.github/workflows/check.yml @@ -0,0 +1,28 @@ +name: check project + +on: + push: + paths: + - "**.lock" + - "**.nix" + - "**.rs" + - "**.toml" + pull_request: + paths: + - "**.lock" + - "**.nix" + - "**.rs" + - "**.toml" + workflow_dispatch: + +jobs: + check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - uses: cachix/install-nix-action@v19 + with: + github_access_token: ${{ secrets.GITHUB_TOKEN }} + + - run: nix flake check -L |
