mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-04 18:15:08 +02:00
22 lines
569 B
YAML
22 lines
569 B
YAML
name: Run checks on code
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
|
|
jobs:
|
|
check:
|
|
name: Check that the module is valid
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: cachix/install-nix-action@v20
|
|
with:
|
|
nix_path: nixpkgs=channel:nixos-unstable
|
|
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
|
- uses: cachix/cachix-action@v12
|
|
with:
|
|
name: nixvim
|
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
|
- run: nix flake check
|
|
- run: nix flake check ./templates/_wrapper/simple
|