Initialize cachix (#384)

* initialize cachix
This commit is contained in:
Pedro Alves 2023-05-23 16:40:21 +01:00 committed by GitHub
parent 40e0516eca
commit 55415979af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,8 @@
name: Run checks on code name: Run checks on code
on: [push, pull_request] on:
pull_request:
push:
jobs: jobs:
check: check:
@ -8,8 +10,13 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: cachix/install-nix-action@v19 - uses: cachix/install-nix-action@v20
with: with:
nix_path: nixpkgs=channel:nixos-unstable
github_access_token: ${{ secrets.GITHUB_TOKEN }} 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
- run: nix flake check ./templates/_wrapper/simple - run: nix flake check ./templates/_wrapper/simple