Skip to content

Commit a812ba2

Browse files
authored
chore(ci): check go mod tidiness (#126)
Signed-off-by: Miguel Martinez Trivino <[email protected]>
1 parent fa993b9 commit a812ba2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ jobs:
2828
cache: true
2929
cache-dependency-path: go.sum
3030

31+
- name: Go Module tidy check
32+
run: |
33+
go mod tidy
34+
git diff --exit-code -- go.mod go.sum
35+
3136
# Check that the generated ent code is up to date
3237
# see https://entgo.io/docs/ci/
3338
- uses: ent/contrib/ci@master

0 commit comments

Comments
 (0)