diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7bc074785..1e77e50ac 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,6 +28,11 @@ jobs: cache: true cache-dependency-path: go.sum + - name: Go Module tidy check + run: | + go mod tidy + git diff --exit-code -- go.mod go.sum + # Check that the generated ent code is up to date # see https://entgo.io/docs/ci/ - uses: ent/contrib/ci@master