Skip to content

Commit fc409e4

Browse files
committed
CI bump action packages
1 parent f9f0f4d commit fc409e4

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ jobs:
3232
runs-on: ubuntu-latest
3333
steps:
3434
- name: Checkout repository
35-
uses: actions/checkout@v2
35+
uses: actions/checkout@v4
3636
- name: Disable bench dependencies
3737
run: ./.github/workflows/disable-bench-deps.sh
3838
- name: Install Rust nightly
3939
run: |
4040
rustup toolchain install nightly
4141
rustup component add rustfmt --toolchain nightly
4242
- name: Restore cargo caches
43-
uses: Swatinem/rust-cache@v1
43+
uses: Swatinem/rust-cache@v2
4444
- name: Check formatting
4545
run: cargo +nightly fmt --all --verbose -- --check
4646

@@ -54,14 +54,14 @@ jobs:
5454
runs-on: ${{ matrix.os }}
5555
steps:
5656
- name: Checkout repository
57-
uses: actions/checkout@v2
57+
uses: actions/checkout@v4
5858
- name: Disable bench dependencies
5959
run: ./.github/workflows/disable-bench-deps.sh
6060
- name: Install dependencies
6161
if: matrix.os == 'ubuntu-latest'
6262
run: sudo bash ./.github/workflows/install-deps.sh
6363
- name: Restore cargo caches
64-
uses: Swatinem/rust-cache@v1
64+
uses: Swatinem/rust-cache@v2
6565
- name: Run tests
6666
run: cargo test --features "${{ matrix.fn_features }} ${{ matrix.cfg_feature }}" --verbose
6767

@@ -73,7 +73,7 @@ jobs:
7373
runs-on: ${{ matrix.os }}
7474
steps:
7575
- name: Checkout repository
76-
uses: actions/checkout@v2
76+
uses: actions/checkout@v4
7777
- name: Install dependencies
7878
if: matrix.os == 'ubuntu-latest'
7979
run: sudo bash ./.github/workflows/install-deps.sh
@@ -92,7 +92,7 @@ jobs:
9292
echo "Nightly version: $(cargo +nightly clippy --version)"
9393
echo "Near stable nightly version: $(cargo +nightly-$STABLE_DATE clippy --version)"
9494
- name: Restore cargo caches
95-
uses: Swatinem/rust-cache@v1
95+
uses: Swatinem/rust-cache@v2
9696
- name: Run clippy
9797
run: cargo clippy --all-features --tests --examples -- -D warnings
9898
- name: Run clippy nightly-${{ steps.install-rust.outputs.stable_date }} for benches
@@ -116,7 +116,7 @@ jobs:
116116
runs-on: ${{ matrix.os }}
117117
steps:
118118
- name: Checkout repository
119-
uses: actions/checkout@v2
119+
uses: actions/checkout@v4
120120
- name: Disable bench dependencies
121121
run: ./.github/workflows/disable-bench-deps.sh
122122
- name: Install dependencies
@@ -126,7 +126,7 @@ jobs:
126126
if: matrix.target != ''
127127
run: rustup target add ${{ matrix.target }}
128128
- name: Restore cargo caches
129-
uses: Swatinem/rust-cache@v1
129+
uses: Swatinem/rust-cache@v2
130130
- name: Run check
131131
run: |
132132
if [[ -z "${{ matrix.target }}" ]]; then
@@ -141,7 +141,7 @@ jobs:
141141
runs-on: ubuntu-latest
142142
steps:
143143
- name: Checkout repository
144-
uses: actions/checkout@v2
144+
uses: actions/checkout@v4
145145
- name: Disable bench dependencies
146146
run: ./.github/workflows/disable-bench-deps.sh
147147
- name: Install dependencies
@@ -157,7 +157,7 @@ jobs:
157157
echo "Stable version: $(rustdoc --version)"
158158
echo "Near stable nightly version: $(rustdoc +nightly-$STABLE_DATE --version)"
159159
- name: Restore cargo caches
160-
uses: Swatinem/rust-cache@v1
160+
uses: Swatinem/rust-cache@v2
161161
- name: Run rustdoc nightly-${{ steps.install-rust.outputs.stable_date }}
162162
run: |
163163
cd spdlog
@@ -175,7 +175,7 @@ jobs:
175175
runs-on: ${{ matrix.os }}
176176
steps:
177177
- name: Checkout repository
178-
uses: actions/checkout@v2
178+
uses: actions/checkout@v4
179179
- name: Disable bench dependencies
180180
run: ./.github/workflows/disable-bench-deps.sh
181181
- name: Install dependencies (Linux)
@@ -186,7 +186,7 @@ jobs:
186186
- name: Install Rust ${{ env.rust_minver }}
187187
run: rustup toolchain install ${{ env.rust_minver }}
188188
- name: Restore cargo caches
189-
uses: Swatinem/rust-cache@v1
189+
uses: Swatinem/rust-cache@v2
190190
- name: Avoid dev-dependencies
191191
run: |
192192
# Some dev-dependencies require a newer version of Rust, but it doesn't matter for MSRV check

0 commit comments

Comments
 (0)