Skip to content

Commit

Permalink
Download modules before mod workflow checks
Browse files Browse the repository at this point in the history
  • Loading branch information
sevein committed Oct 30, 2023
1 parent 2d73688 commit 2451c47
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/mod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
go-version: ${{ steps.go_version.outputs.go_version }}
- name: Check go.mod
run: |
go mod download
go mod tidy
if [ ! -z "$(git status --porcelain go.mod)" ]; then
printf "go.mod has modifications\n"
Expand Down

0 comments on commit 2451c47

Please sign in to comment.