Revert "Migrate to Golang official govulncheck action" (#2502)

Revert "Migrate to Golang official govulncheck action (#2501)"

This reverts commit b66bcd975a.
pull/2504/head
RW 2023-06-09 13:34:29 +02:00 committed by GitHub
parent b66bcd975a
commit 0822f2e322
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 2 deletions

View File

@ -17,5 +17,18 @@ jobs:
Security:
runs-on: ubuntu-latest
steps:
- name: Run govulncheck
uses: golang/govulncheck-action@v0.1.0
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: 1.20.x
check-latest: true
- name: Fetch Repository
uses: actions/checkout@v3
- name: Install Govulncheck
run: |
export GO111MODULE=on
export PATH=${PATH}:`go env GOPATH`/bin
go install golang.org/x/vuln/cmd/govulncheck@latest
- name: Run Govulncheck
run: "`go env GOPATH`/bin/govulncheck ./..."