Skip to content

Commit

Permalink
[lint] explicitly set GOROOT
Browse files Browse the repository at this point in the history
This solves the issue described in golangci/golangci-lint#3107
  • Loading branch information
barrettj12 committed Aug 29, 2022
1 parent 88904bb commit e9ff696
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ jobs:

- name: "Static Analysis: Go Check"
run: |
# Explicitly set GOROOT to avoid golangci-lint/issues/3107
export "GOROOT=$(go env GOROOT)"
STATIC_ANALYSIS_JOB=test_static_analysis_go make static-analysis
shell: bash

Expand Down

0 comments on commit e9ff696

Please sign in to comment.