Skip to content

Commit

Permalink
Lint: check Go modules before test (#1220)
Browse files Browse the repository at this point in the history
  • Loading branch information
Loyalsoldier committed Aug 21, 2021
1 parent 5ba50d6 commit c91f98c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ jobs:
with:
fetch-depth: 0

- name: Check Go modules
run: |
go mod tidy
git diff --exit-code go.mod go.sum
go mod verify
- name: Test
run: |
export PATH=$(go env GOPATH)/bin:${PATH}
Expand Down

0 comments on commit c91f98c

Please sign in to comment.