File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,12 +42,10 @@ jobs:
4242 needs : prologue
4343 runs-on : ${{ needs.prologue.outputs.linux_runner_label }}
4444 steps :
45- - uses : actions-rs/ toolchain@v1
45+ - uses : dtolnay/rust- toolchain@master
4646 with :
47- profile : minimal
4847 toolchain : 1.85.0
49- - uses : actions/checkout@v4
50- - run : rustup component add rustfmt
48+ components : rustfmt
5149 - run : sudo apt-get update && sudo apt-get install libssl-dev pkg-config libclang-dev -y && sudo apt-get install -y gcc-multilib
5250 - name : ci_aarch64_build_ubuntu
5351 run : |
Original file line number Diff line number Diff line change @@ -49,12 +49,10 @@ jobs:
4949 needs : prologue
5050 runs-on : ${{ needs.prologue.outputs.linux_runner_label }}
5151 steps :
52- - uses : actions-rs/ toolchain@v1
52+ - uses : dtolnay/rust- toolchain@master
5353 with :
54- profile : minimal
5554 toolchain : 1.85.0
56- - run : rustup component add rustfmt
57- - run : rustup component add clippy
55+ components : rustfmt, clippy
5856 - run : sudo apt-get update && sudo apt-get install -y libssl-dev pkg-config libclang-dev
5957 - uses : actions/checkout@v4
6058 - run : |
Original file line number Diff line number Diff line change @@ -54,12 +54,10 @@ jobs:
5454 timeout-minutes : 140
5555 runs-on : ${{ needs.prologue.outputs.linux_runner_label }}
5656 steps :
57- - uses : actions-rs/ toolchain@v1
57+ - uses : dtolnay/rust- toolchain@master
5858 with :
59- profile : minimal
6059 toolchain : 1.85.0
61- - run : rustup component add rustfmt
62- - run : rustup component add clippy
60+ components : rustfmt, clippy
6361 - run : sudo apt-get update && sudo apt-get install -y libssl-dev pkg-config libclang-dev
6462 - uses : actions/checkout@v4
6563 - run : |
@@ -83,12 +81,10 @@ jobs:
8381 needs : prologue
8482 runs-on : ${{ needs.prologue.outputs.linux_runner_label }}
8583 steps :
86- - uses : actions-rs/ toolchain@v1
84+ - uses : dtolnay/rust- toolchain@master
8785 with :
88- profile : minimal
8986 toolchain : 1.85.0
90- - run : rustup component add rustfmt
91- - run : rustup component add clippy
87+ components : rustfmt, clippy
9288 - run : sudo apt-get update && sudo apt-get install -y libssl-dev pkg-config libclang-dev
9389 - uses : actions/checkout@v4
9490 - name : build ckb and run bats cli test
Original file line number Diff line number Diff line change @@ -50,14 +50,12 @@ jobs:
5050 needs : prologue
5151 runs-on : ${{ needs.prologue.outputs.linux_runner_label }}
5252 steps :
53- - uses : actions-rs/toolchain@v1
53+ - uses : actions/checkout@v4
54+ - uses : dtolnay/rust-toolchain@master
5455 with :
55- profile : minimal
5656 toolchain : 1.85.0
57- - uses : actions/checkout@v4
58- - run : rustup component add rustfmt
57+ components : rustfmt, clippy
5958 - run : cargo fmt --all -- --check
60- - run : rustup component add clippy
6159 - run : sudo apt-get update && sudo apt-get install libssl-dev pkg-config libclang-dev -y
6260 - run : |
6361 if [[ ${{ needs.prologue.outputs.os_skip }} == run ]] && [[ ${{ needs.prologue.outputs.job_skip }} == run ]];then
Original file line number Diff line number Diff line change @@ -50,14 +50,12 @@ jobs:
5050 needs : prologue
5151 runs-on : ${{ needs.prologue.outputs.linux_runner_label }}
5252 steps :
53- - uses : actions-rs/ toolchain@v1
53+ - uses : dtolnay/rust- toolchain@master
5454 with :
55- profile : minimal
5655 toolchain : 1.85.0
57- - run : rustup component add rustfmt
56+ components : rustfmt, clippy
5857 - uses : actions/checkout@v4
5958 - run : cargo fmt --all -- --check
60- - run : rustup component add clippy
6159 - run : pip install yq
6260 - run : sudo apt-get update && sudo apt-get install libssl-dev pkg-config libclang-dev jq -y
6361 - run : |
Original file line number Diff line number Diff line change 5050 needs : prologue
5151 runs-on : ${{ needs.prologue.outputs.linux_runner_label }}
5252 steps :
53- - uses : actions-rs/ toolchain@v1
53+ - uses : dtolnay/rust- toolchain@master
5454 with :
55- profile : minimal
5655 toolchain : 1.85.0
5756 - run : sudo apt-get update && sudo apt-get install -y libssl-dev pkg-config libclang-dev
5857 - name : Install nextest
Original file line number Diff line number Diff line change @@ -14,11 +14,10 @@ jobs:
1414 github.repository_owner == 'nervosnetwork'
1515 steps :
1616 - uses : actions/checkout@v4
17- - uses : actions-rs/ toolchain@v1
17+ - uses : dtolnay/rust- toolchain@master
1818 with :
19- toolchain : nightly-2022-03-22
20- components : llvm-tools-preview
21- - run : rustup component add rustfmt
19+ toolchain : 1.85.0
20+ components : rustfmt,llvm-tools-preview
2221 - run : sudo apt-get update && sudo apt-get install libssl-dev pkg-config libclang-dev -y && sudo apt-get install -y gcc-multilib
2322 - name : unit coverage
2423 run : make cov
4039 with :
4140 name : coverage_report
4241 path : ${{github.workspace}}/*.info
43- if-no-files-found : error
42+ if-no-files-found : error
You can’t perform that action at this time.
0 commit comments