From 52df33f189392066967a85ac51b90ecdfb1ee2c1 Mon Sep 17 00:00:00 2001 From: David Campbell Date: Fri, 20 Dec 2024 14:07:15 -0500 Subject: [PATCH] Use astral to install zizmor. --- .github/workflows/zizmor.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/zizmor.yml b/.github/workflows/zizmor.yml index ea2de16..d6a479b 100644 --- a/.github/workflows/zizmor.yml +++ b/.github/workflows/zizmor.yml @@ -14,13 +14,13 @@ jobs: with: persist-credentials: false - - name: Download zizmor - run: cargo install zizmor + - name: Install the latest version of uv + uses: astral-sh/setup-uv@38f3f104447c67c051c4a08e39b64a148898af3a # pin@v4 - name: Run zizmor 🌈 run: | cd "$GITHUB_WORKSPACE" - zizmor --gh-token "$GH_TOKEN" .github/workflows/* + uvx zizmor --gh-token "$GH_TOKEN" .github/workflows/* env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}