@@ -32,15 +32,15 @@ jobs:
32
32
runs-on : ubuntu-latest
33
33
steps :
34
34
- name : Checkout repository
35
- uses : actions/checkout@v2
35
+ uses : actions/checkout@v4
36
36
- name : Disable bench dependencies
37
37
run : ./.github/workflows/disable-bench-deps.sh
38
38
- name : Install Rust nightly
39
39
run : |
40
40
rustup toolchain install nightly
41
41
rustup component add rustfmt --toolchain nightly
42
42
- name : Restore cargo caches
43
- uses : Swatinem/rust-cache@v1
43
+ uses : Swatinem/rust-cache@v2
44
44
- name : Check formatting
45
45
run : cargo +nightly fmt --all --verbose -- --check
46
46
@@ -54,14 +54,14 @@ jobs:
54
54
runs-on : ${{ matrix.os }}
55
55
steps :
56
56
- name : Checkout repository
57
- uses : actions/checkout@v2
57
+ uses : actions/checkout@v4
58
58
- name : Disable bench dependencies
59
59
run : ./.github/workflows/disable-bench-deps.sh
60
60
- name : Install dependencies
61
61
if : matrix.os == 'ubuntu-latest'
62
62
run : sudo bash ./.github/workflows/install-deps.sh
63
63
- name : Restore cargo caches
64
- uses : Swatinem/rust-cache@v1
64
+ uses : Swatinem/rust-cache@v2
65
65
- name : Run tests
66
66
run : cargo test --features "${{ matrix.fn_features }} ${{ matrix.cfg_feature }}" --verbose
67
67
73
73
runs-on : ${{ matrix.os }}
74
74
steps :
75
75
- name : Checkout repository
76
- uses : actions/checkout@v2
76
+ uses : actions/checkout@v4
77
77
- name : Install dependencies
78
78
if : matrix.os == 'ubuntu-latest'
79
79
run : sudo bash ./.github/workflows/install-deps.sh
92
92
echo "Nightly version: $(cargo +nightly clippy --version)"
93
93
echo "Near stable nightly version: $(cargo +nightly-$STABLE_DATE clippy --version)"
94
94
- name : Restore cargo caches
95
- uses : Swatinem/rust-cache@v1
95
+ uses : Swatinem/rust-cache@v2
96
96
- name : Run clippy
97
97
run : cargo clippy --all-features --tests --examples -- -D warnings
98
98
- name : Run clippy nightly-${{ steps.install-rust.outputs.stable_date }} for benches
@@ -116,7 +116,7 @@ jobs:
116
116
runs-on : ${{ matrix.os }}
117
117
steps :
118
118
- name : Checkout repository
119
- uses : actions/checkout@v2
119
+ uses : actions/checkout@v4
120
120
- name : Disable bench dependencies
121
121
run : ./.github/workflows/disable-bench-deps.sh
122
122
- name : Install dependencies
@@ -126,7 +126,7 @@ jobs:
126
126
if : matrix.target != ''
127
127
run : rustup target add ${{ matrix.target }}
128
128
- name : Restore cargo caches
129
- uses : Swatinem/rust-cache@v1
129
+ uses : Swatinem/rust-cache@v2
130
130
- name : Run check
131
131
run : |
132
132
if [[ -z "${{ matrix.target }}" ]]; then
@@ -141,7 +141,7 @@ jobs:
141
141
runs-on : ubuntu-latest
142
142
steps :
143
143
- name : Checkout repository
144
- uses : actions/checkout@v2
144
+ uses : actions/checkout@v4
145
145
- name : Disable bench dependencies
146
146
run : ./.github/workflows/disable-bench-deps.sh
147
147
- name : Install dependencies
@@ -157,7 +157,7 @@ jobs:
157
157
echo "Stable version: $(rustdoc --version)"
158
158
echo "Near stable nightly version: $(rustdoc +nightly-$STABLE_DATE --version)"
159
159
- name : Restore cargo caches
160
- uses : Swatinem/rust-cache@v1
160
+ uses : Swatinem/rust-cache@v2
161
161
- name : Run rustdoc nightly-${{ steps.install-rust.outputs.stable_date }}
162
162
run : |
163
163
cd spdlog
@@ -175,7 +175,7 @@ jobs:
175
175
runs-on : ${{ matrix.os }}
176
176
steps :
177
177
- name : Checkout repository
178
- uses : actions/checkout@v2
178
+ uses : actions/checkout@v4
179
179
- name : Disable bench dependencies
180
180
run : ./.github/workflows/disable-bench-deps.sh
181
181
- name : Install dependencies (Linux)
@@ -186,7 +186,7 @@ jobs:
186
186
- name : Install Rust ${{ env.rust_minver }}
187
187
run : rustup toolchain install ${{ env.rust_minver }}
188
188
- name : Restore cargo caches
189
- uses : Swatinem/rust-cache@v1
189
+ uses : Swatinem/rust-cache@v2
190
190
- name : Avoid dev-dependencies
191
191
run : |
192
192
# Some dev-dependencies require a newer version of Rust, but it doesn't matter for MSRV check
0 commit comments