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
|
||||
id: static-go-vet
|
||||
if: always()
|
||||
run: go vet ./...
|
||||
run: GODEBUG=embedfollowsymlinks=1 go vet ./...
|
||||
|
||||
- name: Run staticcheck
|
||||
id: static-go-staticcheck
|
||||
if: always()
|
||||
run: staticcheck ./...
|
||||
run: GODEBUG=embedfollowsymlinks=1 staticcheck ./...
|
||||
|
||||
- name: Run govulncheck
|
||||
id: static-go-govulncheck
|
||||
if: always()
|
||||
run: govulncheck ./...
|
||||
run: GODEBUG=embedfollowsymlinks=1 govulncheck ./...
|
||||
|
||||
- name: Verify Static Analysis
|
||||
if: >
|
||||
|
||||
Reference in new issue
Block a user