feat: add nix cache to ci (#949)

* feat: add nix cache to ci

* feat: shared caches
This commit is contained in:
thesimplekid
2025-08-12 01:35:30 +03:00
committed by GitHub
parent 8da03b87e2
commit b48604e02c
2 changed files with 57 additions and 1 deletions

View File

@@ -12,6 +12,8 @@ jobs:
uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v17
- name: Nix Cache
uses: DeterminateSystems/magic-nix-cache-action@main
- name: Rust Cache
uses: Swatinem/rust-cache@v2
- name: Test Nutshell
@@ -31,6 +33,8 @@ jobs:
run: docker pull cashubtc/nutshell:latest
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v17
- name: Nix Cache
uses: DeterminateSystems/magic-nix-cache-action@main
- name: Rust Cache
uses: Swatinem/rust-cache@v2
- name: Test Nutshell Wallet
@@ -38,4 +42,4 @@ jobs:
nix develop -i -L .#integration --command just nutshell-wallet-itest
- name: Show Docker logs if tests fail
if: failure()
run: docker logs nutshell-wallet || true
run: docker logs nutshell-wallet || true