From 8af90582f1b8dba46c46d8e63eff8602c2eb5a35 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Tue, 5 Mar 2024 01:41:31 -0500 Subject: [PATCH] Create check-flake.yml added automatic `nix flake check` action on push. --- .github/workflows/check-flake.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/check-flake.yml diff --git a/.github/workflows/check-flake.yml b/.github/workflows/check-flake.yml new file mode 100644 index 00000000..a47c6e43 --- /dev/null +++ b/.github/workflows/check-flake.yml @@ -0,0 +1,20 @@ +name: Check flake + +on: + push: + branches: + - master + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - uses: cachix/install-nix-action@v20 + + - name: Check if flake.nix still evaluates + run: nix flake check