mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-26 10:48:35 +02:00
ci: add checks
This commit is contained in:
parent
df7a6500e4
commit
652a507745
1 changed files with 19 additions and 0 deletions
19
.github/workflows/check.yml
vendored
Normal file
19
.github/workflows/check.yml
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
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 .
|
Loading…
Add table
Add a link
Reference in a new issue