Skip to content

Commit dcedb3b

Browse files
committed
ci: Update checkout and rust toolchain action
1 parent f83b72b commit dcedb3b

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

Diff for: .github/workflows/ci.yml

+6-12
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,10 @@ jobs:
2222
- nightly
2323
- 1.64.0 # MSRV
2424
steps:
25-
- uses: actions/checkout@v2
26-
- uses: actions-rs/toolchain@v1
25+
- uses: actions/checkout@v4
26+
- uses: dtolnay/rust-toolchain@master
2727
with:
28-
profile: minimal
2928
toolchain: ${{ matrix.rust }}
30-
override: true
3129
- name: Build
3230
run: cargo build --verbose
3331
- name: Run tests
@@ -48,13 +46,11 @@ jobs:
4846
- rust: stable
4947
target: i686-unknown-linux-gnu
5048
steps:
51-
- uses: actions/checkout@v2
52-
- uses: actions-rs/toolchain@v1
49+
- uses: actions/checkout@v4
50+
- uses: dtolnay/rust-toolchain@master
5351
with:
54-
profile: minimal
5552
toolchain: ${{ matrix.rust }}
5653
target: ${{ matrix.target }}
57-
override: true
5854
- name: Install cross
5955
run: cargo install cross -f
6056
- name: Build
@@ -86,12 +82,10 @@ jobs:
8682
rust:
8783
- nightly
8884
steps:
89-
- uses: actions/checkout@v2
90-
- uses: actions-rs/toolchain@v1
85+
- uses: actions/checkout@v4
86+
- uses: dtolnay/rust-toolchain@master
9187
with:
92-
profile: minimal
9388
toolchain: ${{ matrix.rust }}
94-
override: true
9589
- name: Install tarpaulin
9690
run: cargo install cargo-tarpaulin -f
9791
- name: Generate code coverage

0 commit comments

Comments
 (0)