12.nixvim/.github/workflows/check.yml
2023-02-20 16:23:47 +00:00

19 lines
418 B
YAML

name: Run checks on code
on:
push:
branches: [ '!gh-pages' ]
pull_request:
branches: [ '!gh-pages' ]
jobs:
check:
name: Check that the module is valid
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
- run: nix fmt -- -c .