add GODEBUG=embedfollowsymlinks=1 support to go static checks
This commit is contained in:
1 parent
1bf2559dad
commit
79c04bd811
1 file changed
+3
-3
@@ -31,17 +31,17 @@ jobs:
|
|||||||
- name: Run go vet
|
- name: Run go vet
|
||||||
id: static-go-vet
|
id: static-go-vet
|
||||||
if: always()
|
if: always()
|
||||||
run: go vet ./...
|
run: GODEBUG=embedfollowsymlinks=1 go vet ./...
|
||||||
|
|
||||||
- name: Run staticcheck
|
- name: Run staticcheck
|
||||||
id: static-go-staticcheck
|
id: static-go-staticcheck
|
||||||
if: always()
|
if: always()
|
||||||
run: staticcheck ./...
|
run: GODEBUG=embedfollowsymlinks=1 staticcheck ./...
|
||||||
|
|
||||||
- name: Run govulncheck
|
- name: Run govulncheck
|
||||||
id: static-go-govulncheck
|
id: static-go-govulncheck
|
||||||
if: always()
|
if: always()
|
||||||
run: govulncheck ./...
|
run: GODEBUG=embedfollowsymlinks=1 govulncheck ./...
|
||||||
|
|
||||||
- name: Verify Static Analysis
|
- name: Verify Static Analysis
|
||||||
if: >
|
if: >
|
||||||
|
|||||||
Reference in new issue
Block a user