Skip to content

Merge pull request #75 from etcd-io/dependabot/github_actions/actions… #43

Merge pull request #75 from etcd-io/dependabot/github_actions/actions…

Merge pull request #75 from etcd-io/dependabot/github_actions/actions… #43

Workflow file for this run

---
name: Go Vulnerability Checker
on: [push, pull_request]
permissions: read-all
jobs:
govuln:
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: |
set -euo pipefail
go install golang.org/x/vuln/cmd/govulncheck@latest && govulncheck ./...