nix-community.nixvim/.github/workflows/check.yml
Alexander Nortung 2c333c86d0
Added nix check and pre commit hook for formatting (#220)
* Added nix check and pre commit hook for formatting

* Removed nix fmt check from CI
2023-03-06 15:06:16 +00:00

14 lines
326 B
YAML

name: Run checks on code
on: [push, pull_request]
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