Skip to content

Commit 5bfa040

Browse files
chore(deps): Update github-actions (#656)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/cache](https://redirect.github.com/actions/cache) ([changelog](https://redirect.github.com/actions/cache/compare/27d5ce7f107fe9357f9df03efb73ab90386fccae..caa296126883cff596d87d8935842f9db880ef25)) | action | digest | `27d5ce7` → `caa2961` | | [actions/checkout](https://redirect.github.com/actions/checkout) ([changelog](https://redirect.github.com/actions/checkout/compare/de0fac2e4500dabe0009e67214ff5f5447ce83dd..df4cb1c069e1874edd31b4311f1884172cec0e10)) | action | digest | `de0fac2` → `df4cb1c` | | [actions/setup-go](https://redirect.github.com/actions/setup-go) ([changelog](https://redirect.github.com/actions/setup-go/compare/4a3601121dd01d1626a1e23e37211e3254c1c06c..924ae3a1cded613372ab5595356fb5720e22ba16)) | action | digest | `4a36011` → `924ae3a` | | [golangci/golangci-lint](https://redirect.github.com/golangci/golangci-lint) | uses-with | minor | `v2.11.4` → `v2.12.2` | | [golangci/golangci-lint-action](https://redirect.github.com/golangci/golangci-lint-action) ([changelog](https://redirect.github.com/golangci/golangci-lint-action/compare/1e7e51e771db61008b38414a730f564565cf7c20..ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a)) | action | digest | `1e7e51e` → `ba0d7d2` | --- ### Release Notes <details> <summary>golangci/golangci-lint (golangci/golangci-lint)</summary> ### [`v2.12.2`](https://redirect.github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v2122) [Compare Source](https://redirect.github.com/golangci/golangci-lint/compare/v2.12.1...v2.12.2) *Released on 2026-05-06* 1. Linters bug fixes - `gomodguard_v2`: fix blocked configuration - `gomodguard_v2`: from 2.1.0 to 2.1.3 - `iface`: from 1.4.1 to 1.4.2 ### [`v2.12.1`](https://redirect.github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v2121) [Compare Source](https://redirect.github.com/golangci/golangci-lint/compare/v2.12.0...v2.12.1) *Released on 2026-05-01* 1. Linters bug fixes - `gomodguard_v2`: fix panic with migration suggestion 2. Misc. - fix `install.sh` script (if you are still using an URL based on the branch `master`, please update to use `https://golangci-lint.run/install.sh`) ### [`v2.12.0`](https://redirect.github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v2120) [Compare Source](https://redirect.github.com/golangci/golangci-lint/compare/v2.11.4...v2.12.0) *Released on 2026-05-01* 1. New linters - Add `clickhouselint` linter <https://github.com/ClickHouse/clickhouse-go-linter> 2. Linters new features or changes - `dupl`: from [`f665c8d`](https://redirect.github.com/golangci/golangci-lint/commit/f665c8d69b32) to [`c99c5cf`](https://redirect.github.com/golangci/golangci-lint/commit/c99c5cf5c202) (extended detection) - `funcorder`: from 0.5.0 to 0.6.0 (new option: `function`) - `goconst`: add an option to ignore strings from tests - `goconst`: from 1.8.2 to 1.10.0 (extended detection) - `gomodguard_v2`: from 1.4.1 to 2.1.0 (major version with new configuration) - `gosec`: from [`619ce21`](https://redirect.github.com/golangci/golangci-lint/commit/619ce2117e08) to 2.26.1 (new checks: `G124`, `G708`, `G709`, `G710`) - `govet`: add `inline` analyzer - `makezero`: from 2.1.0 to 2.2.1 (support slice type aliases) - `paralleltest`: expose `checkcleanup` option - `sloglint`: from 0.11.1 to 0.12.0 (new options: `allowed-keys`, `custom-funcs`) - `wsl_v5`: from 5.6.0 to 5.8.0 (new option: `cuddle-max-statements`; new checks: `after-decl`, `after-defer`, `after-expr`, `after-go`, `cuddle-group`) 3. Linters bug fixes - `forbidigo`: from 2.3.0 to 2.3.1 - `godot`: from 1.5.4 to 1.5.6 - `govet-modernize`: from 0.43.0 to 0.44.0 - `ireturn`: from 0.4.0 to 0.4.1 - `rowserrcheck`: from 1.1.1 to [`c5f79b8`](https://redirect.github.com/golangci/golangci-lint/commit/c5f79b8) 4. Misc. - Decrease cache entropy - Embed the JSON schema in the binary - Filter env vars when cloning the repository with the `custom` command </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - Between 12:00 AM and 03:59 AM, on day 1 of the month (`* 0-3 1 * *`) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xOTUuMiIsInVwZGF0ZWRJblZlciI6IjQzLjE5NS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJhdXRvbWVyZ2UiXX0=-->
1 parent 1d98529 commit 5bfa040

4 files changed

Lines changed: 11 additions & 10 deletions

File tree

.github/workflows/lint_golang.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ jobs:
1515
name: Lint with GolangCI
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
19-
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6
18+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
19+
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6
2020
id: go
2121
with:
2222
go-version-file: go.mod
2323
# We use a manually configured cache key to avoid conflicts with the test action cache
2424
# See https://github.com/actions/setup-go/issues/358
2525
cache: false
26-
- uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5
26+
- uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5
2727
with:
2828
path: |
2929
~/.cache/go-build
@@ -32,7 +32,7 @@ jobs:
3232
restore-keys: |
3333
${{runner.os}}-go-${{steps.go.outputs.go-version}}-lint
3434
- name: golangci-lint
35-
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9
35+
uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9
3636
with:
37-
version: v2.11.4
37+
version: v2.12.2
3838
args: --verbose

.github/workflows/regen.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ jobs:
2020
private-key: ${{ secrets.CQ_APP_PRIVATE_KEY }}
2121
permission-contents: write
2222
permission-pull-requests: write
23-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
24-
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6
23+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
24+
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6
2525
id: go
2626
with:
2727
go-version-file: go.mod
2828
# We use a manually configured cache key to avoid conflicts with the test action cache
2929
# See https://github.com/actions/setup-go/issues/358
3030
cache: false
31-
- uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5
31+
- uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5
3232
with:
3333
path: |
3434
~/.cache/go-build

.github/workflows/unittest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
os: [ubuntu-latest, macos-latest, windows-latest]
2121
steps:
2222
- name: Check out code into the Go module directory
23-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
23+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
2424
- name: Set up Go 1.x
25-
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6
25+
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6
2626
with:
2727
go-version-file: go.mod
2828
- run: go mod download

.golangci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ linters:
3333
disable:
3434
- fieldalignment
3535
- shadow
36+
- inline
3637
enable-all: true
3738
revive:
3839
enable-all-rules: true

0 commit comments

Comments
 (0)