From 3ef7bd5bbc4b494fb273da8626dfdf824bfe7d73 Mon Sep 17 00:00:00 2001 From: blissful Date: Sun, 12 May 2024 14:19:18 -0400 Subject: [PATCH] split check and build steps --- .github/workflows/build.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index b162ea3..030dfcc 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -23,6 +23,19 @@ jobs: - name: Lint if: success() || failure() run: nix develop --command make lintcheck + build: + runs-on: ubuntu-latest + env: + ACTIONS_ALLOW_UNSECURE_COMMANDS: true + steps: + - uses: actions/checkout@v3 + - uses: cachix/install-nix-action@v20 + - uses: cachix/cachix-action@v12 + with: + name: rose + authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" + - name: Build Nix + run: nix build -j8 .#devShells.x86_64-linux.default - name: Build if: success() || failure() run: nix build .#all