3
0
Fork 0
mirror of https://github.com/Swatinem/rust-cache synced 2026-01-30 23:57:56 +00:00

ci: address lint findings, add zizmor workflow (#262)

This commit is contained in:
William Woodruff 2025-09-23 03:11:49 -04:00 committed by GitHub
parent f13886b937
commit 7bd5339b5b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 78 additions and 18 deletions

View file

@ -11,15 +11,19 @@ on:
- "**.md"
workflow_dispatch:
permissions: {}
jobs:
check-dist:
if: github.repository == 'Swatinem/rust-cache'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
- name: Setup Node.js 20.x
uses: actions/setup-node@v5
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with:
node-version: 20.x
cache: npm
@ -39,7 +43,7 @@ jobs:
fi
id: diff
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
if: ${{ failure() && steps.diff.conclusion == 'failure' }}
with:
name: dist