From c287c6763edba7d3392ba4640d17f18ba0c38aa0 Mon Sep 17 00:00:00 2001 From: golangci-releaser <65486276+golangci-releaser@users.noreply.github.com> Date: Mon, 24 Mar 2025 21:00:47 +0000 Subject: [PATCH 1/2] [create-pull-request] automated change --- assets/github-action-config-v2.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/github-action-config-v2.json b/assets/github-action-config-v2.json index bbcfdfbc30b9..2f3d958d2540 100644 --- a/assets/github-action-config-v2.json +++ b/assets/github-action-config-v2.json @@ -1,7 +1,7 @@ { "MinorVersionToConfig": { "latest": { - "TargetVersion": "v2.0.0" + "TargetVersion": "v2.0.1" }, "v1.10": { "Error": "golangci-lint version 'v1.10' isn't supported: we support only v2.0.0 and later versions" @@ -190,7 +190,7 @@ "Error": "golangci-lint version 'v1.9' isn't supported: we support only v2.0.0 and later versions" }, "v2.0": { - "TargetVersion": "v2.0.0" + "TargetVersion": "v2.0.1" } } } From 9e2fc22978add6ad419299424c2df8ba3fc9fe6d Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Mon, 24 Mar 2025 22:04:57 +0100 Subject: [PATCH 2/2] chore: handle todos --- .github/workflows/pr-checks.yml | 1 - .github/workflows/pr-tests.yml | 9 ++++----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index f3f967eb669d..e46b77a06362 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -88,7 +88,6 @@ jobs: - run: ./golangci-lint config - run: ./golangci-lint config path - run: ./golangci-lint config path --json - # TODO(ldez) after v2: golangci.next.jsonschema.json -> golangci.jsonschema.json - run: ./golangci-lint config verify --schema jsonschema/golangci.next.jsonschema.json - run: ./golangci-lint help diff --git a/.github/workflows/pr-tests.yml b/.github/workflows/pr-tests.yml index 3393ae3bc1ee..380472037050 100644 --- a/.github/workflows/pr-tests.yml +++ b/.github/workflows/pr-tests.yml @@ -40,11 +40,10 @@ jobs: # - 1.18beta1 -> 1.18.0-beta.1 # - 1.18rc1 -> 1.18.0-rc.1 go-version: ${{ env.GO_VERSION }} - # TODO(ldez): must add uncommented when golangci-lint-action@v7.0.0 (with golangci-lint v2 support) will be created. -# - name: lint -# uses: golangci/golangci-lint-action@v6.5.0 -# with: -# version: latest + - name: lint + uses: golangci/golangci-lint-action@v7.0.0 + with: + version: latest tests-on-windows: needs: golangci-lint # run after golangci-lint action to not produce duplicated errors