Add flake checker action to GHA lints (#515)

* Add flake checker action to CI

* Bump action version to v4

* Remove outdated NIxpkgs check

Co-authored-by: Ana Hobden <operator@hoverbear.org>

---------

Co-authored-by: Ana Hobden <operator@hoverbear.org>
This commit is contained in:
Luc Perkins 2023-06-23 10:30:33 -07:00 committed by GitHub
parent a962b3390b
commit 122a4bfdf0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,6 +11,11 @@ jobs:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Check Nixpkgs input
uses: DeterminateSystems/flake-checker-action@v4
with:
fail-mode: true
check-outdated: false # PRs shouldn't fail because main's nixpkgs is out of date
- name: Install Nix - name: Install Nix
uses: DeterminateSystems/nix-installer-action@main uses: DeterminateSystems/nix-installer-action@main
with: with: