File tree Expand file tree Collapse file tree 9 files changed +40
-72
lines changed
Expand file tree Collapse file tree 9 files changed +40
-72
lines changed Original file line number Diff line number Diff line change 1111 test :
1212 runs-on : ubuntu-latest
1313 steps :
14- - uses : actions/checkout@v2
14+ - uses : actions/checkout@v4
1515 - name : Install stable toolchain
16- uses : actions-rs/toolchain@v1
17- with :
18- profile : minimal
19- toolchain : stable
16+ uses : actions-rust-lang/setup-rust-toolchain@v1
2017 - name : Run cargo test
21- uses : actions-rs/cargo@v1
22- with :
23- command : test
24- args : --all --features=sync
18+ run : cargo test --all --features=sync
Original file line number Diff line number Diff line change 1515 os : [ubuntu-latest, windows-latest, macOS-latest]
1616 runs-on : ${{ matrix.os }}
1717 steps :
18- - uses : actions/checkout@v2
18+ - uses : actions/checkout@v4
1919 - name : Install stable toolchain
20- uses : actions-rs/toolchain@v1
21- with :
22- profile : minimal
23- toolchain : stable
20+ uses : actions-rust-lang/setup-rust-toolchain@v1
2421 - name : Run cargo check
25- uses : actions-rs/cargo@v1
26- with :
27- command : check
28- args : --all --features=sync
22+ run : cargo check --all --features=sync
Original file line number Diff line number Diff line change @@ -23,15 +23,10 @@ jobs:
2323 - x86_64-unknown-linux-gnu
2424 - wasm32-unknown-unknown
2525 steps :
26- - uses : actions/checkout@v2
26+ - uses : actions/checkout@v4
2727 - name : Install stable toolchain
28- uses : actions-rs/ toolchain@v1
28+ uses : actions-rust-lang/setup-rust- toolchain@v1
2929 with :
30- profile : minimal
31- toolchain : stable
3230 target : ${{ matrix.target }}
3331 - name : Run cargo check
34- uses : actions-rs/cargo@v1
35- with :
36- command : check
37- args : --all --features=sync
32+ run : cargo check --all --features=sync
Original file line number Diff line number Diff line change @@ -15,14 +15,10 @@ jobs:
1515 matrix :
1616 rust-toolchain : [stable, nightly]
1717 steps :
18- - uses : actions/checkout@v2
18+ - uses : actions/checkout@v4
1919 - name : Install ${{ matrix.rust-toolchain }} toolchain
20- uses : actions-rs/ toolchain@v1
20+ uses : actions-rust-lang/setup-rust- toolchain@v1
2121 with :
22- profile : minimal
2322 toolchain : ${{ matrix.rust-toolchain }}
2423 - name : Run cargo check
25- uses : actions-rs/cargo@v1
26- with :
27- command : check
28- args : --all --features=sync
24+ run : cargo check --all --features=sync
Original file line number Diff line number Diff line change 1515 test :
1616 runs-on : ubuntu-latest
1717 steps :
18- - uses : actions/checkout@v2
18+ - uses : actions/checkout@v4
1919 - name : Install stable toolchain
20- uses : actions-rs/toolchain@v1
21- with :
22- profile : minimal
23- toolchain : stable
20+ uses : actions-rust-lang/setup-rust-toolchain@v1
2421 - name : Run cargo test
25- uses : actions-rs/cargo@v1
26- with :
27- command : test
28- args : --all --features sync
22+ run : cargo test --all --features=sync
Original file line number Diff line number Diff line change @@ -15,30 +15,27 @@ jobs:
1515 fmt :
1616 runs-on : ubuntu-latest
1717 steps :
18- - uses : actions/checkout@v2
19- - name : Install nightly toolchain
20- uses : actions-rs/ toolchain@v1
18+ - uses : actions/checkout@v4
19+ - name : Ensure rustfmt is installed
20+ uses : actions-rust-lang/setup-rust- toolchain@v1
2121 with :
22- profile : minimal
2322 toolchain : nightly
24- - name : Run cargo fmt
25- uses : actions-rs/cargo@v1
26- with :
27- command : fmt
28- args : --all -- --check
23+ components : rustfmt
24+ - name : Rustfmt check
25+ uses : actions-rust-lang/rustfmt@v1
2926
3027 clippy :
3128 runs-on : ubuntu-latest
3229 steps :
33- - uses : actions/checkout@v2
34- - name : Install nightly toolchain with clippy available
35- uses : actions-rs/ toolchain@v1
30+ - uses : actions/checkout@v4
31+ - name : Ensure clippy is installed
32+ uses : actions-rust-lang/setup-rust- toolchain@v1
3633 with :
37- profile : minimal
3834 toolchain : nightly
39- components : rustfmt
35+ components : clippy
4036 - name : Run cargo clippy
41- uses : actions-rs /clippy-check @v1
37+ uses : giraffate /clippy-action @v1
4238 with :
43- token : ${{ secrets.GITHUB_TOKEN }}
44- args : --all --all-features -- -D warnings
39+ github_token : ${{ secrets.GITHUB_TOKEN }}
40+ clippy_flags : --all --all-features -- -D warnings
41+ reporter : ' github-pr-review'
Original file line number Diff line number Diff line change 1+ name : release-please
2+
13on :
24 push :
35 branches :
46 - main
5- name : release-please
7+
68jobs :
79 release-please :
810 runs-on : ubuntu-latest
911 steps :
1012 - uses : google-github-actions/release-please-action@v3
1113 with :
1214 release-type : node
13- package-name : release-please-action
15+ package-name : release-please-action
Original file line number Diff line number Diff line change 1515 if : ${{ github.event.label.name == 'ready-to-merge' }}
1616 runs-on : ubuntu-latest
1717 steps :
18- - uses : actions/checkout@v2
19- - uses : actions-rs /audit-check @v1
18+ - uses : actions/checkout@v4
19+ - uses : actions-rust-lang /audit@v1
2020 with :
21- token : ${{ secrets.GITHUB_TOKEN }}
21+ TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -17,14 +17,10 @@ jobs:
1717 sync : ["", "sync,"]
1818 nightly : ["", "nightly,"]
1919 steps :
20- - uses : actions/checkout@v2
20+ - uses : actions/checkout@v4
2121 - name : Install nightly toolchain
22- uses : actions-rs/ toolchain@v1
22+ uses : actions-rust-lang/setup-rust- toolchain@v1
2323 with :
24- profile : minimal
2524 toolchain : nightly
26- - name : Run cargo check
27- uses : actions-rs/cargo@v1
28- with :
29- command : test
30- args : --all --features=${{ matrix.std }}${{ matrix.sync }}${{ matrix.nightly }}
25+ - name : Run cargo test
26+ run : cargo test --all --features=${{ matrix.std }}${{ matrix.sync }}${{ matrix.nightly }}
You can’t perform that action at this time.
0 commit comments