From 999fe49b5c9c180c881f725545d0f22cf1e741f7 Mon Sep 17 00:00:00 2001 From: "cloudquery-ci[bot]" <271027272+cloudquery-ci[bot]@users.noreply.github.com> Date: Wed, 1 Apr 2026 00:40:12 +0000 Subject: [PATCH 1/2] chore(deps): Update github-actions --- .github/workflows/lint_golang.yml | 4 ++-- .github/workflows/unittest.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint_golang.yml b/.github/workflows/lint_golang.yml index 113ab91b..d39d73b6 100644 --- a/.github/workflows/lint_golang.yml +++ b/.github/workflows/lint_golang.yml @@ -16,11 +16,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - - uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6 + - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6 with: go-version-file: go.mod - name: golangci-lint uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9 with: - version: v2.10.1 + version: v2.11.4 args: --verbose diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index c6ba9393..072f88fb 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -17,7 +17,7 @@ jobs: - name: Check out code into the Go module directory uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - name: Set up Go 1.x - uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6 + uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6 with: go-version-file: go.mod - run: go mod download From e446992ef8e1c29de4766749b49f1bde8b986b76 Mon Sep 17 00:00:00 2001 From: erezrokah Date: Wed, 1 Apr 2026 14:14:38 +0100 Subject: [PATCH 2/2] fix: Disable revive package-naming rule that conflicts with json package The golangci-lint v2.11.0 update includes revive v1.15.0 which adds a new package-naming rule. This rule flags the json package name as conflicting with encoding/json, but renaming it would be a breaking change. --- .golangci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.golangci.yml b/.golangci.yml index 0ddad590..73eefa2a 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -63,6 +63,8 @@ linters: disabled: true - name: nested-structs disabled: true + - name: package-naming + disabled: true - name: unchecked-type-assertion disabled: true - name: enforce-switch-style