mirror of https://github.com/gofiber/fiber.git
Migrate to Golang official govulncheck action (#2501)
* Migrate to golang official govulncheck action * Remove unsupported go version from govulncheck * Update vulncheck.ymlpull/2502/head
parent
0f5ffed3cc
commit
b66bcd975a
|
@ -17,18 +17,5 @@ jobs:
|
||||||
Security:
|
Security:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Install Go
|
- name: Run govulncheck
|
||||||
uses: actions/setup-go@v4
|
uses: golang/govulncheck-action@v0.1.0
|
||||||
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 ./..."
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue