Set checkout persist-credentials to false

This commit is contained in:
Rodolphe Bréard 2025-01-03 22:06:02 +01:00
parent bb951c3726
commit ad9030758c
Signed by: rodolphe
SSH key fingerprint: SHA256:3rodCKnk1MUOfSlIKY0nHbBtvFyQx4EqjS+JIy69lN0

View file

@ -25,6 +25,8 @@ jobs:
- nightly - nightly
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install Rust ${{ matrix.rust }} - name: Install Rust ${{ matrix.rust }}
run: rustup toolchain install ${{ matrix.rust }} run: rustup toolchain install ${{ matrix.rust }}
- name: Run cargo build - name: Run cargo build
@ -36,6 +38,8 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with:
persist-credentials: false
- name: Update Rust - name: Update Rust
run: rustup update stable run: rustup update stable
- name: Run cargo fmt - name: Run cargo fmt
@ -45,6 +49,8 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with:
persist-credentials: false
- name: Update Rust - name: Update Rust
run: rustup update stable run: rustup update stable
- name: Run clippy - name: Run clippy
@ -54,4 +60,6 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with:
persist-credentials: false
- uses: EmbarkStudios/cargo-deny-action@v1 - uses: EmbarkStudios/cargo-deny-action@v1