Skip to content

Merge pull request #241 from etcd-io/dependabot/github_actions/github… #721

Merge pull request #241 from etcd-io/dependabot/github_actions/github…

Merge pull request #241 from etcd-io/dependabot/github_actions/github… #721

Workflow file for this run

name: Go Vulnerability Checker
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- id: goversion
run: echo "goversion=$(cat .go-version)" >> "$GITHUB_OUTPUT"
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
with:
go-version: ${{ steps.goversion.outputs.goversion }}
- run: date
- run: go install golang.org/x/vuln/cmd/govulncheck@latest && govulncheck ./...