Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/govulncheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: govulncheck

on:
push:
tags:
- v*
branches:
- master
pull_request:
schedule:
- cron: '0 9 * * 1' # Every Monday at 9:00 UTC

permissions:
contents: read

jobs:
govulncheck:
name: govulncheck
runs-on: ubuntu-latest
steps:
- name: Run govulncheck
uses: golang/govulncheck-action@b625fbe08f3bccbe446d94fbf87fcc875a4f50ee # v1.0.4
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The commit is at 2024, very old in respect to GH workflows.
After that, a few nice changes included:

Using tagged commit is generally nice option, but may we prefer newer ones?

with:
go-version-file: go.mod
env:
GOEXPERIMENT: jsonv2
Loading