diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index dc6d2af..2cefb8b 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -10,10 +10,11 @@ jobs: steps: - uses: actions/checkout@v3 name: Checkout - - name: test + - uses: DeterminateSystems/magic-nix-cache-action@main + - name: Run tests run: | nix develop -c cargo nextest run --run-ignored all - - name: release build + - name: Build release run: | nix develop -c cargo build --release build-nix: @@ -21,6 +22,7 @@ jobs: steps: - uses: actions/checkout@v3 name: Checkout + - uses: DeterminateSystems/magic-nix-cache-action@main - name: run: | nix build @@ -32,6 +34,7 @@ jobs: - name: Metadata run: | nix flake metadata + - uses: DeterminateSystems/magic-nix-cache-action@main - name: Statix run: | nix develop -c statix check