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-js-and-test :
@@ -29,22 +23,14 @@ jobs:
2923 - name : Checkout
3024 uses : actions/checkout@v4
3125
32- - name : Install Rust 1.85.0
33- uses : dtolnay/rust-toolchain@1.85.0
34-
3526 - name : " Use cache"
3627 uses : Swatinem/rust-cache@v2
3728
38- - name : Install Node
39- uses : actions/setup-node@v6
40-
41- - name : Install llvm
42- if : matrix.os == 'macos-latest'
43- run : brew install llvm
29+ - name : " Install nix"
30+ uses : DeterminateSystems/determinate-nix-action@main
4431
45- # 0.2.109+ requires rustc 1.88 (via time crate).
46- - name : Install wasm-bindgen
47- run : cargo install --locked wasm-bindgen-cli --version 0.2.108
32+ - name : " Use nix cache"
33+ uses : DeterminateSystems/magic-nix-cache-action@main
4834
4935 - name : " Build and test"
50- run : bash ./contrib/test.sh
36+ run : nix develop .#msrv -c ./contrib/test.sh
You can’t perform that action at this time.
0 commit comments