Skip to content

Commit

Permalink
ci: make zizmor.yml very fast with uvx
Browse files Browse the repository at this point in the history
No more compiling.
  • Loading branch information
woodruffw committed Dec 8, 2024
1 parent 518e7eb commit 7e3c31f
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/zizmor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,10 @@ jobs:
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
persist-credentials: false
- name: Setup Rust
uses: actions-rust-lang/setup-rust-toolchain@11df97af8e8102fd60b60a77dfbf58d40cd843b8 # v1
- name: Get zizmor
run: cargo install zizmor
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v4
- name: Run zizmor 🌈
run: zizmor --format sarif . > results.sarif
run: uvx zizmor --format sarif . > results.sarif
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload SARIF file
Expand Down

0 comments on commit 7e3c31f

Please sign in to comment.