File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 1- name : Follow README.md
21on : [ push, pull_request ]
32
43permissions :
1312 target : [ x86_64-unknown-linux-gnu, x86_64-unknown-linux-musl ]
1413 just_version : [ "1.36.0" ]
1514 rust_toolchain : [ "stable", "beta", "nightly" ]
16- name : check README.md
1715 runs-on :
1816 - lab
1917 timeout-minutes : 180
@@ -30,12 +28,15 @@ jobs:
3028 just-version : ${{matrix.just_version}}
3129 - name : install rustup
3230 uses : dtolnay/rust-toolchain@stable
31+ with :
32+ toolchain : ${{matrix.rust_toolchain}}
33+ targets : ${{matrix.target}}
3334 - name : Checkout
3435 uses : actions/checkout@v4
3536 - name : refresh-compile-env
36- run : just --yes refresh-compile-env
37+ run : just --yes rust="${{matrix.rust_toolchain}}" refresh-compile-env
3738 - run : just --yes fake-nix
38- - name : build
39+ - name : just build
3940 run : just cargo +${{matrix.rust_toolchain}} build --profile=${{matrix.profile}} --target=${{matrix.target}}
40- - name : test
41+ - name : just test
4142 run : just cargo +${{matrix.rust_toolchain}} test --profile=${{matrix.profile}} --target=${{matrix.target}}
You can’t perform that action at this time.
0 commit comments