add GODEBUG=embedfollowsymlinks=1 support to go static checks

This commit is contained in:
alu committed 2026-10-22 20:55:38 +00:00
1 parent 1bf2559dad
commit 79c04bd811
1 file changed
+3 -3
+3 -3
View File
@@ -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: >