From 16e4814460a3b284a7bc47befa8f5445d4dac881 Mon Sep 17 00:00:00 2001 From: Grzegorz Dlugoszewski Date: Sun, 24 Aug 2025 18:41:52 +0200 Subject: [PATCH] Re-enable linting in CI actions --- .github/workflows/ci.yml | 10 ++++------ .github/workflows/release.yml | 8 +++----- 2 files changed, 7 insertions(+), 11 deletions(-) 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 }}