Skip to content

Merge pull request #231 from etcd-io/dependabot/github_actions/action… #696

Merge pull request #231 from etcd-io/dependabot/github_actions/action…

Merge pull request #231 from etcd-io/dependabot/github_actions/action… #696

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@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: ${{ steps.goversion.outputs.goversion }}
- run: date
- run: go install golang.org/x/vuln/cmd/govulncheck@latest && govulncheck ./...