Skip to content

Commit

Permalink
Use go run instead of spawning a bash shell and then invoking go
Browse files Browse the repository at this point in the history
  • Loading branch information
pgporada committed Jul 10, 2023
1 parent f7d2ddd commit 5ebd869
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/boulder-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ jobs:
- if: startsWith(matrix.BOULDER_TOOLS_TAG, 'go1.21')
run: echo "GOEXPERIMENT=loopvar" >> "$GITHUB_ENV"

- name: Install and run govulncheck
run: docker compose run --use-aliases netaccess bash -c 'GOFLAGS="" GOBIN=/usr/local/bin go install golang.org/x/vuln/cmd/govulncheck@latest && govulncheck ./...'
- name: Run govulncheck
run: docker compose run -e GOFLAGS= netaccess go run golang.org/x/vuln/cmd/govulncheck@latest ./...

# This is a utility build job to detect if the status of any of the
# above jobs have failed and fail if so. It is needed so there can be
Expand Down

0 comments on commit 5ebd869

Please sign in to comment.