Auto merge of #12023 - waywardmonkeys:ci-update-checkout-action, r=flip1995

ci: Update to `actions/checkout@v4` from `v3`.

This also updates the book's section on CI for the same thing.

changelog: none
This commit is contained in:
bors 2024-01-04 10:28:38 +00:00
commit 691d4e275a
6 changed files with 11 additions and 11 deletions

View file

@ -38,7 +38,7 @@ jobs:
github_token: "${{ secrets.github_token }}" github_token: "${{ secrets.github_token }}"
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Install toolchain - name: Install toolchain
run: rustup show active-toolchain run: rustup show active-toolchain

View file

@ -26,7 +26,7 @@ jobs:
github_token: "${{ secrets.github_token }}" github_token: "${{ secrets.github_token }}"
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
ref: ${{ github.ref }} ref: ${{ github.ref }}
@ -72,7 +72,7 @@ jobs:
github_token: "${{ secrets.github_token }}" github_token: "${{ secrets.github_token }}"
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Install i686 dependencies - name: Install i686 dependencies
if: matrix.host == 'i686-unknown-linux-gnu' if: matrix.host == 'i686-unknown-linux-gnu'
@ -151,7 +151,7 @@ jobs:
github_token: "${{ secrets.github_token }}" github_token: "${{ secrets.github_token }}"
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Install toolchain - name: Install toolchain
run: rustup show active-toolchain run: rustup show active-toolchain
@ -175,7 +175,7 @@ jobs:
github_token: "${{ secrets.github_token }}" github_token: "${{ secrets.github_token }}"
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Install toolchain - name: Install toolchain
run: rustup show active-toolchain run: rustup show active-toolchain
@ -231,7 +231,7 @@ jobs:
github_token: "${{ secrets.github_token }}" github_token: "${{ secrets.github_token }}"
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Install toolchain - name: Install toolchain
run: rustup show active-toolchain run: rustup show active-toolchain

View file

@ -24,7 +24,7 @@ jobs:
steps: steps:
# Setup # Setup
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v4
# Run # Run
- name: Build - name: Build

View file

@ -21,10 +21,10 @@ jobs:
steps: steps:
# Setup # Setup
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
ref: ${{ env.TARGET_BRANCH }} ref: ${{ env.TARGET_BRANCH }}
path: 'out' path: 'out'

View file

@ -16,7 +16,7 @@ jobs:
steps: steps:
# Setup # Setup
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v3 uses: actions/setup-node@v3

View file

@ -15,7 +15,7 @@ jobs:
clippy_check: clippy_check:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Run Clippy - name: Run Clippy
run: cargo clippy --all-targets --all-features run: cargo clippy --all-targets --all-features
``` ```