Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 29 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ jobs:
name: Test
runs-on: ubuntu-24.04
steps:
- &checkout
name: Checkout repository
- name: Checkout repository
uses: actions/checkout@v5
with:
persist-credentials: false
Expand All @@ -38,7 +37,10 @@ jobs:
name: Lint
runs-on: ubuntu-24.04
steps:
- *checkout
- name: Checkout repository
uses: actions/checkout@v5
with:
persist-credentials: false

- name: Install pnpm
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
Expand All @@ -56,7 +58,10 @@ jobs:
name: Format
runs-on: ubuntu-24.04
steps:
- *checkout
- name: Checkout repository
uses: actions/checkout@v5
with:
persist-credentials: false

- name: Install pnpm
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
Expand All @@ -73,7 +78,10 @@ jobs:
name: Zizmor
runs-on: ubuntu-24.04
steps:
- *checkout
- name: Checkout repository
uses: actions/checkout@v5
with:
persist-credentials: false

- name: Run zizmor
uses: zizmorcore/zizmor-action@f52a838cfabf134edcbaa7c8b3677dde20045018 # v0.1.1
Expand All @@ -87,7 +95,10 @@ jobs:
name: Package
runs-on: ubuntu-24.04
steps:
- *checkout
- name: Checkout repository
uses: actions/checkout@v5
with:
persist-credentials: false

- name: Install pnpm
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
Expand Down Expand Up @@ -116,7 +127,10 @@ jobs:
id-token: write # Required for OpenID Connect token retrieval.

steps:
- *checkout
- name: Checkout repository
uses: actions/checkout@v5
with:
persist-credentials: false

- name: Start mock crates.io server
run: |
Expand Down Expand Up @@ -161,7 +175,10 @@ jobs:
name: Rustfmt
runs-on: ubuntu-24.04
steps:
- *checkout
- name: Checkout repository
uses: actions/checkout@v5
with:
persist-credentials: false

- name: Check formatting
run: cargo fmt --all --check
Expand All @@ -171,7 +188,10 @@ jobs:
name: Clippy
runs-on: ubuntu-24.04
steps:
- *checkout
- name: Checkout repository
uses: actions/checkout@v5
with:
persist-credentials: false

- name: Clippy check
run: cargo clippy --all-targets --all-features --workspace -- -D warnings
Expand Down