diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 40e588197..0038cbb4a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,6 +41,9 @@ jobs: - uses: actions/setup-go@v2 with: go-version: ${{ matrix.go }} + - name: Check go.mod Tidiness + run: go mod tidy && git diff --exit-code + if: ${{ matrix.go == "1.16" }} - name: Build run: go build ./... - name: Vet