From d82611f54a0191f56d96f72fc94849bbcc9be3bd Mon Sep 17 00:00:00 2001 From: awwpotato Date: Tue, 10 Dec 2024 10:45:07 -0800 Subject: [PATCH] add check for nix dev shell --- .github/workflows/nix.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/nix.yml diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml new file mode 100644 index 0000000..25269ef --- /dev/null +++ b/.github/workflows/nix.yml @@ -0,0 +1,19 @@ +on: + push: + paths: + - 'flake.nix' + +jobs: + nix-check: + name: Check Nix Dev Shell + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Install Nix + uses: https://github.com/DeterminateSystems/nix-installer-action@v12 + - name: Magic Nix Cache + uses: https://github.com/DeterminateSystems/magic-nix-cache-action@v7 + - name: Check + run: nix flake check -L