diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 021c990cb..8a164fc1e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,10 @@ jobs: - name: Setup Golang Environment uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0 with: - go-version: stable + go-version-file: go.mod + + - name: Check if go.mod and go.sum are up to date + run: go mod tidy && git diff --exit-code -- go.mod go.sum - name: Run Tests run: make test