diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aeb42c6..2f69cfd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,13 +69,11 @@ jobs: with: go-version: '1.24' cache: true - - - name: Run golangci-lint - uses: golangci/golangci-lint-action@v6 - # TODO: Fix linting errors - continue-on-error: true + + - name: Run lints + uses: golangci/golangci-lint-action@v8 with: - version: latest + version: v2.4.0 args: --timeout=5m security: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a7edeb7..950395c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,11 +41,9 @@ jobs: run: go test -race ./... - name: Run lints - uses: golangci/golangci-lint-action@v6 - # TODO: Fix linting errors - continue-on-error: true + uses: golangci/golangci-lint-action@v8 with: - version: latest + version: v2.4.0 args: --timeout=5m - name: Validate GoReleaser config @@ -74,7 +72,7 @@ jobs: - name: Run GoReleaser uses: goreleaser/goreleaser-action@v6 with: - version: latest + version: '~> v2' args: release --clean env: GITHUB_TOKEN: ${{ secrets.GORELEASER_TOKEN }}