File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 pull_request :
99 paths :
1010 - payjoin-ffi/**
11- env :
12- # Override the value from the rust-toolchain file
13- # This is necessary because even though the correct toolchain
14- # is explicitly specified for the rust-toolchain action,
15- # rustup honors the rust-toolchain file over the default
16- RUSTUP_TOOLCHAIN : 1.85
1711
1812jobs :
1913 build-dart-and-test :
2014 name : " Build and test dart"
2115 runs-on : ${{ matrix.os }}
22- defaults :
23- run :
24- working-directory : payjoin-ffi/dart
2516 strategy :
2617 matrix :
2718 os : [ubuntu-latest, macos-latest]
2819 steps :
2920 - name : Checkout
3021 uses : actions/checkout@v4
31- - name : Install Nix
32- uses : DeterminateSystems/nix-installer-action@main
33- - name : Build and test
34- run : nix develop --command bash ./contrib/test.sh
22+ - name : " Use cache"
23+ uses : Swatinem/rust-cache@v2
24+ - name : " Install nix"
25+ uses : DeterminateSystems/determinate-nix-action@main
26+ - name : " Use nix cache"
27+ uses : DeterminateSystems/magic-nix-cache-action@main
28+ - name : " Build and test"
29+ run : nix develop .#dart -c bash ./payjoin-ffi/dart/contrib/test.sh
Original file line number Diff line number Diff line change 88 pull_request :
99 paths :
1010 - payjoin-ffi/**
11- env :
12- # Override the value from the rust-toolchain file
13- # This is necessary because even though the correct toolchain
14- # is explicitly specified for the rust-toolchain action,
15- # rustup honors the rust-toolchain file over the default
16- RUSTUP_TOOLCHAIN : 1.85
1711
1812jobs :
1913 build-python-and-test :
2519 steps :
2620 - name : Checkout
2721 uses : actions/checkout@v4
28- - name : Install Nix
29- uses : DeterminateSystems/nix-installer-action@main
30- - name : Build and test
22+ - name : " Use cache"
23+ uses : Swatinem/rust-cache@v2
24+ - name : " Install nix"
25+ uses : DeterminateSystems/determinate-nix-action@main
26+ - name : " Use nix cache"
27+ uses : DeterminateSystems/magic-nix-cache-action@main
28+ - name : " Build and test"
3129 run : nix develop .#python --command bash ./payjoin-ffi/python/contrib/test.sh
You can’t perform that action at this time.
0 commit comments