fix(ci): add GOTOOLCHAIN=auto to gosec and govulncheck steps
This commit is contained in:
@@ -50,11 +50,15 @@ jobs:
|
|||||||
|
|
||||||
- name: Run gosec security analysis
|
- name: Run gosec security analysis
|
||||||
uses: securego/gosec@v2.22.4
|
uses: securego/gosec@v2.22.4
|
||||||
|
env:
|
||||||
|
GOTOOLCHAIN: auto
|
||||||
with:
|
with:
|
||||||
args: ./...
|
args: ./...
|
||||||
|
|
||||||
- name: Run govulncheck
|
- name: Run govulncheck
|
||||||
uses: golang/govulncheck-action@v1.0.4
|
uses: golang/govulncheck-action@v1.0.4
|
||||||
|
env:
|
||||||
|
GOTOOLCHAIN: auto
|
||||||
with:
|
with:
|
||||||
go-package: ./...
|
go-package: ./...
|
||||||
cache: true
|
cache: true
|
||||||
|
|||||||
Reference in New Issue
Block a user