Skip to content

Commit

Permalink
ci: use persist-credentials: false throughout
Browse files Browse the repository at this point in the history
We already do this in most of the other Rustls crates, and Zizmor 0.7.0
flags[0] its absence in this repo.

[0]: https://woodruffw.github.io/zizmor/audits/#artipacked
  • Loading branch information
cpu committed Dec 6, 2024
1 parent e7b8f48 commit ced87d4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
with:
components: rustfmt
- uses: actions/checkout@v4
with:
persist-credentials: false
- run: cargo fmt --all -- --check
clippy:
runs-on: ubuntu-latest
Expand All @@ -23,12 +25,16 @@ jobs:
with:
components: clippy
- uses: actions/checkout@v4
with:
persist-credentials: false
- run: cargo clippy --locked --all-features --all-targets
rustdoc:
runs-on: ubuntu-latest
steps:
- uses: dtolnay/rust-toolchain@stable
- uses: actions/checkout@v4
with:
persist-credentials: false
- run: cargo doc --locked --all-features
build:
name: "Build and test"
Expand All @@ -50,6 +56,8 @@ jobs:
steps:
- name: Checkout sources
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Install ${{ matrix.rust }} toolchain
uses: dtolnay/rust-toolchain@master
Expand Down

0 comments on commit ced87d4

Please sign in to comment.