File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 30
30
- nightly
31
31
steps :
32
32
- uses : actions/checkout@v5
33
- - uses : dtolnay/rust-toolchain@master
33
+ - name : Install ${{ matrix.rust }} toolchain
34
+ uses : dtolnay/rust-toolchain@master
34
35
with :
35
36
toolchain : ${{ matrix.rust }}
36
37
- name : Cargo update
58
59
runs-on : ubuntu-latest
59
60
steps :
60
61
- uses : actions/checkout@v5
61
- - uses : dtolnay/rust-toolchain@stable
62
+ - name : Install stable rustfmt
63
+ uses : dtolnay/rust-toolchain@stable
62
64
with :
63
65
components : rustfmt
64
66
- run : cargo fmt --all -- --check
68
70
runs-on : ubuntu-latest
69
71
steps :
70
72
- uses : actions/checkout@v5
71
- - uses : dtolnay/rust-toolchain@nightly
73
+ - name : Install nightly clippy
74
+ uses : dtolnay/rust-toolchain@nightly
72
75
with :
73
76
components : clippy
74
77
- run : cargo clippy -- -D warnings
80
83
RUSTDOCFLAGS : --cfg docsrs
81
84
steps :
82
85
- uses : actions/checkout@v5
83
- - uses : dtolnay/rust-toolchain@nightly
86
+ - name : Install nightly rust
87
+ uses : dtolnay/rust-toolchain@nightly
84
88
- run : cargo doc --workspace --no-deps --all-features
85
89
86
90
semver :
You can’t perform that action at this time.
0 commit comments