Skip to content

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

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

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

Workflow file for this run

name: Go Vulnerability Checker
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- 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 ./...