Skip to content

Commit

Permalink
Ensure release workflow testing also downloads Go modules prior to an…
Browse files Browse the repository at this point in the history
…alysis testing

Reference: #307
  • Loading branch information
bflad committed May 19, 2024
1 parent 2bfdbfe commit f3e589f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version-file: 'go.mod'
# Prevent GOPROXY=off errors for analysistest
- run: for moddir in {,x}passes/*/testdata; do pushd $moddir; go mod download; popd; done
- run: go test ./...
goreleaser:
name: goreleaser
Expand Down

0 comments on commit f3e589f

Please sign in to comment.