Browse Source

Set checkout persist-credentials to false

ng
Rodolphe Bréard 3 weeks ago
parent
commit
612830c67a
Failed to extract signature
  1. 8
      .github/workflows/ci.yml

8
.github/workflows/ci.yml

@ -17,6 +17,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
@ -28,6 +30,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
@ -37,6 +41,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
@ -46,4 +52,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
Loading…
Cancel
Save