Skip to content

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

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

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

Workflow file for this run

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