mirror of
https://github.com/aljazceru/cdk.git
synced 2026-01-04 13:35:20 +01:00
feat: add nix cache to ci (#949)
* feat: add nix cache to ci * feat: shared caches
This commit is contained in:
6
.github/workflows/nutshell_itest.yml
vendored
6
.github/workflows/nutshell_itest.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user