Skip to content

Commit 7d6e312

Browse files
committed
Auto merge of #12762 - rust-lang:renovate/actions-checkout-4.x, r=weihanglo
chore(deps): update actions/checkout action to v4 [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/checkout](https://togithub.com/actions/checkout) | action | major | `v3` -> `v4` | --- ### Release Notes <details> <summary>actions/checkout (actions/checkout)</summary> ### [`v4`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v400) [Compare Source](https://togithub.com/actions/checkout/compare/v3...v4) - [Support fetching without the --progress option](https://togithub.com/actions/checkout/pull/1067) - [Update to node20](https://togithub.com/actions/checkout/pull/1436) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 5am on the first day of the month" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/rust-lang/cargo). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4wLjMiLCJ1cGRhdGVkSW5WZXIiOiIzNy4wLjMiLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIifQ==-->
2 parents 9652354 + 94024bf commit 7d6e312

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

.github/workflows/audit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- advisories
2222
- bans licenses sources
2323
steps:
24-
- uses: actions/checkout@v3
24+
- uses: actions/checkout@v4
2525
- uses: EmbarkStudios/cargo-deny-action@v1
2626
# Prevent sudden announcement of a new advisory from failing ci:
2727
continue-on-error: ${{ matrix.checks == 'advisories' }}

.github/workflows/contrib.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
contents: write # for Git to git push
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v3
16+
- uses: actions/checkout@v4
1717
with:
1818
fetch-depth: 0
1919
- name: Install mdbook

.github/workflows/main.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
rustfmt:
5555
runs-on: ubuntu-latest
5656
steps:
57-
- uses: actions/checkout@v3
57+
- uses: actions/checkout@v4
5858
- run: rustup update stable && rustup default stable
5959
- run: rustup component add rustfmt
6060
- run: cargo fmt --all --check
@@ -63,7 +63,7 @@ jobs:
6363
clippy:
6464
runs-on: ubuntu-latest
6565
steps:
66-
- uses: actions/checkout@v3
66+
- uses: actions/checkout@v4
6767
- run: rustup update stable && rustup default stable
6868
- run: rustup component add clippy
6969
# Only check cargo lib for now
@@ -73,15 +73,15 @@ jobs:
7373
stale-label:
7474
runs-on: ubuntu-latest
7575
steps:
76-
- uses: actions/checkout@v3
76+
- uses: actions/checkout@v4
7777
- run: rustup update stable && rustup default stable
7878
- run: cargo stale-label
7979

8080
# Ensure Cargo.lock is up-to-date
8181
lockfile:
8282
runs-on: ubuntu-latest
8383
steps:
84-
- uses: actions/checkout@v3
84+
- uses: actions/checkout@v4
8585
- run: rustup update stable && rustup default stable
8686
- run: cargo update -p cargo --locked
8787

@@ -91,7 +91,7 @@ jobs:
9191
BASE_SHA: ${{ github.event.pull_request.base.sha }}
9292
HEAD_SHA: ${{ github.event.pull_request.head.sha != '' && github.event.pull_request.head.sha || github.sha }}
9393
steps:
94-
- uses: actions/checkout@v3
94+
- uses: actions/checkout@v4
9595
with:
9696
fetch-depth: 0
9797
- run: rustup update stable && rustup default stable
@@ -145,7 +145,7 @@ jobs:
145145
other: i686-pc-windows-gnu
146146
name: Tests ${{ matrix.name }}
147147
steps:
148-
- uses: actions/checkout@v3
148+
- uses: actions/checkout@v4
149149
- name: Dump Environment
150150
run: ci/dump-environment.sh
151151
- run: rustup update --no-self-update ${{ matrix.rust }} && rustup default ${{ matrix.rust }}
@@ -196,14 +196,14 @@ jobs:
196196
resolver:
197197
runs-on: ubuntu-latest
198198
steps:
199-
- uses: actions/checkout@v3
199+
- uses: actions/checkout@v4
200200
- run: rustup update stable && rustup default stable
201201
- run: cargo test -p resolver-tests
202202

203203
test_gitoxide:
204204
runs-on: ubuntu-latest
205205
steps:
206-
- uses: actions/checkout@v3
206+
- uses: actions/checkout@v4
207207
- run: rustup update --no-self-update stable && rustup default stable
208208
- run: rustup target add i686-unknown-linux-gnu
209209
- run: sudo apt update -y && sudo apt install gcc-multilib libsecret-1-0 libsecret-1-dev -y
@@ -215,7 +215,7 @@ jobs:
215215
build_std:
216216
runs-on: ubuntu-latest
217217
steps:
218-
- uses: actions/checkout@v3
218+
- uses: actions/checkout@v4
219219
- run: rustup update nightly && rustup default nightly
220220
- run: rustup component add rust-src
221221
- run: cargo build
@@ -225,7 +225,7 @@ jobs:
225225
docs:
226226
runs-on: ubuntu-latest
227227
steps:
228-
- uses: actions/checkout@v3
228+
- uses: actions/checkout@v4
229229
- run: rustup update nightly && rustup default nightly
230230
- run: rustup update stable
231231
- run: rustup component add rust-docs
@@ -252,6 +252,6 @@ jobs:
252252
credential_msrv:
253253
runs-on: ubuntu-latest
254254
steps:
255-
- uses: actions/checkout@v3
255+
- uses: actions/checkout@v4
256256
- run: rustup update 1.70 && rustup default 1.70
257257
- run: cargo test -p cargo-credential

0 commit comments

Comments
 (0)