From 47cd375a44cd1a852aa83a1c32adf15c3c2942c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sun, 21 Apr 2024 20:01:06 +0100 Subject: [PATCH] try nix cache --- .forgejo/workflows/build.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index dc6d2af..0c297a2 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: https://github.com/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: https://github.com/DeterminateSystems/magic-nix-cache-action@main - name: run: | nix build @@ -32,6 +34,7 @@ jobs: - name: Metadata run: | nix flake metadata + - uses: https://github.com/DeterminateSystems/magic-nix-cache-action@main - name: Statix run: | nix develop -c statix check