Skip to content

Commit

Permalink
Run go mod tidy in CI to ensure we are up to date.
Browse files Browse the repository at this point in the history
With go 1.16 go build doesn’t update the mod files anymore. go mod tidy
will ensure that it was ran before merging.
  • Loading branch information
didrocks committed Mar 19, 2021
1 parent f44628e commit 50294fe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/qa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ jobs:
go get github.com/securego/gosec/cmd/gosec
gosec ./...
- name: Module files are up to date
run: ./.github/ci/check-modules
run: |
go mod tidy
./.github/ci/check-modules
if: ${{ always() }}
- name: Building
run: go build ./...
Expand Down

0 comments on commit 50294fe

Please sign in to comment.