Skip to content

Bump github.com/google/capslock from 0.2.5 to 0.2.6 #442

Bump github.com/google/capslock from 0.2.5 to 0.2.6

Bump github.com/google/capslock from 0.2.5 to 0.2.6 #442

Workflow file for this run

name: Audit
on:
pull_request:
paths:
- '**/*.go'
- .github/workflows/audit.yml
- capabilities.json
- go.mod
- go.sum
push:
branches:
- main
schedule:
- cron: 0 2 * * *
workflow_dispatch: ~
permissions: read-all
jobs:
capabilities:
name: Capabilities
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Install Go
uses: actions/[email protected]
with:
go-version-file: go.mod
- name: Verify action checksums
env:
JOB: ${{ github.job }}
WORKFLOW: ${{ github.workflow_ref }}
run: |
WORKFLOW=$(echo "$WORKFLOW" | cut -d '@' -f 1 | cut -d '/' -f 3-5)
go run ./cmd/ghasum verify -cache /home/runner/work/_actions -no-evict -offline "$WORKFLOW:$JOB"
- name: Audit
run: go run tasks.go audit-capabilities
vulnerabilities:
name: Vulnerabilities
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Install Go
uses: actions/[email protected]
with:
go-version-file: go.mod
- name: Verify action checksums
env:
JOB: ${{ github.job }}
WORKFLOW: ${{ github.workflow_ref }}
run: |
WORKFLOW=$(echo "$WORKFLOW" | cut -d '@' -f 1 | cut -d '/' -f 3-5)
go run ./cmd/ghasum verify -cache /home/runner/work/_actions -no-evict -offline "$WORKFLOW:$JOB"
- name: Audit
run: go run tasks.go audit-vulnerabilities