Use checkout v4

This commit is contained in:
Rodolphe Bréard 2025-01-03 21:20:23 +01:00
parent 917da842e6
commit a9de447267
Signed by: rodolphe
SSH key fingerprint: SHA256:3rodCKnk1MUOfSlIKY0nHbBtvFyQx4EqjS+JIy69lN0

View file

@ -16,7 +16,9 @@ jobs:
- beta
- nightly
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install Rust ${{ matrix.rust }}
uses: actions-rs/toolchain@v1
with:
@ -42,7 +44,9 @@ jobs:
- simple/simple
- relaxed/relaxed
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Apt update
run: sudo apt update
- name: Install Python
@ -70,7 +74,9 @@ jobs:
name: Cargo fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rustfmt
@ -80,13 +86,17 @@ jobs:
name: Cargo deny
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: EmbarkStudios/cargo-deny-action@v1
black:
name: Black
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Apt update
run: sudo apt update
- name: Install Python