Initialize cachix (#384)

* initialize cachix
This commit is contained in:
Pedro Alves
2023-05-23 17:40:21 +02:00
committed by GitHub
parent 40e0516eca
commit 55415979af
+9 -2
View File
@@ -1,6 +1,8 @@
name: Run checks on code
on: [push, pull_request]
on:
pull_request:
push:
jobs:
check:
@@ -8,8 +10,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v19
- 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