From 0bd3eed56dac8f62a0339bc333413c2400e7fab8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabi=C3=A1n=20Heredia=20Montiel?= Date: Tue, 1 Oct 2024 15:01:34 -0600 Subject: [PATCH] Github: run devenv checks --- .github/workflows/devenv.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/devenv.yaml diff --git a/.github/workflows/devenv.yaml b/.github/workflows/devenv.yaml new file mode 100644 index 0000000..40e86ff --- /dev/null +++ b/.github/workflows/devenv.yaml @@ -0,0 +1,20 @@ +name: "Devenv" + +on: + push: + +jobs: + pre-commit-hooks: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - uses: cachix/install-nix-action@v29 + - name: Install devenv.sh + run: nix profile install nixpkgs#devenv + - name: Devenv info (needed until release of next version) + run: devenv info + - name: Pre-commit-hooks (linters / static-analysis) + run: devenv tasks run devenv:pre-commit:run + - name: Test + run: devenv test