From a9de447267af988b476cdb81d2d5976bfd0097d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolphe=20Br=C3=A9ard?= Date: Fri, 3 Jan 2025 21:20:23 +0100 Subject: [PATCH] Use checkout v4 --- .github/workflows/ci.yml | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fdccf08..9ee9dfb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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