This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [golangci/golangci-lint-action](https://redirect.github.com/golangci/golangci-lint-action) | action | major | `9fae48a` -> `4afd733` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. Add the preset `:preserveSemverRanges` to your config if you don't want to pin your dependencies. --- ### Release Notes <details> <summary>golangci/golangci-lint-action (golangci/golangci-lint-action)</summary> ### [`v8`](https://redirect.github.com/golangci/golangci-lint-action/compare/v7...v8) [Compare Source](https://redirect.github.com/golangci/golangci-lint-action/compare/v7...v8) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzguMCIsInVwZGF0ZWRJblZlciI6IjM5LjIzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbInJlbm92YXRlL2NvbnRhaW5lciIsInJlbm92YXRlL2dpdGh1Yi1hY3Rpb24iLCJyZW5vdmF0ZS9naXRodWItcmVsZWFzZSIsInR5cGUvbWFqb3IiXX0=-->
45 lines
1.0 KiB
YAML
45 lines
1.0 KiB
YAML
name: Clustertool-go-lint
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
on:
|
|
# push:
|
|
# branches:
|
|
# - main
|
|
# tags:
|
|
# - "*"
|
|
# paths:
|
|
# - 'main.go'
|
|
# - 'go.mod'
|
|
# - 'go.sum'
|
|
# - 'pkg/**'
|
|
# - 'cmd/**'
|
|
# - 'clustertool/**'
|
|
# - ".github/workflows/clsutertool.test.yaml"
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- 'main.go'
|
|
- 'go.mod'
|
|
- 'go.sum'
|
|
- 'pkg/**'
|
|
- 'cmd/**'
|
|
- 'clustertool/**'
|
|
- ".github/workflows/clsutertool.test.yaml"
|
|
permissions:
|
|
contents: read
|
|
jobs:
|
|
golangci:
|
|
name: lint
|
|
runs-on: actions-runners
|
|
steps:
|
|
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
|
|
with:
|
|
go-version: stable
|
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
|
- name: golangci-lint
|
|
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8
|
|
with:
|
|
version: latest
|
|
args: --timeout 3m0s
|