diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index 14fa9f46..604f60cc 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -10,6 +10,7 @@ jobs: uses: actions/setup-go@v2 - name: Install Gosec run: | + export GO111MODULE=on export PATH=${PATH}:`go env GOPATH`/bin go get -u github.com/securego/gosec/v2/cmd/gosec # -----