diff --git a/.github/workflows/_ci.yaml b/.github/workflows/_ci.yaml index 64e7250..5770fbd 100644 --- a/.github/workflows/_ci.yaml +++ b/.github/workflows/_ci.yaml @@ -25,3 +25,15 @@ jobs: uses: golangci/golangci-lint-action@v8 with: version: ${{ inputs.golangci-version }} + tidy: + name: Go mod tidy check + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: ${{ inputs.go-version }} + cache: true + - uses: katexochen/go-tidy-check@v2