-
Notifications
You must be signed in to change notification settings - Fork 4
CI: fix security workflow + bump actions for Node.js 24 #33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,21 +17,21 @@ jobs: | |
| security: | ||
| name: Security Scan | ||
| runs-on: ubuntu-latest | ||
| # issues: write — rustsec/audit-check creates issues for new advisories. | ||
|
Comment on lines
19
to
+20
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
With a job-level Useful? React with 👍 / 👎. |
||
| # checks: write — rustsec/audit-check posts check annotations. | ||
| permissions: | ||
| issues: write | ||
| issues-reason: to create issues | ||
| checks: write | ||
| checks-reason: to create check | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/checkout@v5 | ||
|
|
||
| - name: Run Rust security audit | ||
| uses: rustsec/audit-check@v1.4.1 | ||
| uses: rustsec/audit-check@v2 | ||
| with: | ||
| token: ${{ secrets.GITHUB_TOKEN }} | ||
|
|
||
| - name: Install uv | ||
| uses: astral-sh/setup-uv@v4 | ||
| uses: astral-sh/setup-uv@v8 | ||
| with: | ||
| version: "latest" | ||
|
|
||
|
|
@@ -56,8 +56,8 @@ jobs: | |
| security-events: write | ||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v4 | ||
| uses: actions/checkout@v5 | ||
|
|
||
| - name: Initialize CodeQL | ||
| uses: github/codeql-action/init@v3 | ||
| with: | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any CI or security job that reaches this step will fail while resolving the action, because setup-uv v8 stopped publishing moving major/minor tags; the v8.0.0 release notes say
@v8and@v8.0do not resolve and only full tags such asastral-sh/setup-uv@v8.1.0or a commit SHA should be used. This same unresolved reference is also used in the lint job and in.github/workflows/security.yml, so PR CI and the scheduled security scan cannot install uv.Useful? React with 👍 / 👎.