mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-07-01 02:52:58 +00:00
chore(deps): update golangci/golangci-lint (1.64.5 → 1.64.7) (#1810)
* chore(deps): update golangci/golangci-lint (1.64.5 → 1.64.7) | datasource | package | from | to | | --------------- | ---------------------- | ------ | ------ | | github-releases | golangci/golangci-lint | 1.64.5 | 1.64.7 | * chore(ci): update golangci-lint workflow to include linter filter - Modified the workflow to check for linter output in addition to Go files. - Updated conditions for setting up Go and linting code to include linter filter. Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com> * fix version Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com> --------- Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
This commit is contained in:
parent
ed0a8d3b19
commit
0977473dd2
11
.github/workflows/golangci-lint.yml
vendored
11
.github/workflows/golangci-lint.yml
vendored
@ -27,19 +27,20 @@ jobs:
|
||||
filters: |
|
||||
go:
|
||||
- '**/*.go'
|
||||
linter:
|
||||
- .github/workflows/golangci-lint.yml
|
||||
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v5
|
||||
if: ${{ steps.filter.outputs.go == 'true' }}
|
||||
if: ${{ steps.filter.outputs.go == 'true' || steps.filter.outputs.linter == 'true'}}
|
||||
with:
|
||||
go-version-file: "go.mod"
|
||||
cache-dependency-path: |
|
||||
go.sum
|
||||
|
||||
- name: Lint code
|
||||
if: ${{ steps.filter.outputs.go == 'true' }}
|
||||
if: ${{ steps.filter.outputs.go == 'true' || steps.filter.outputs.linter == 'true'}}
|
||||
uses: golangci/golangci-lint-action@v6
|
||||
with:
|
||||
# renovate: datasource=github-releases depName=golangci/golangci-lint
|
||||
version: v1.64.5
|
||||
with:
|
||||
version: v1.64.7 # renovate: datasource=github-releases depName=golangci/golangci-lint
|
||||
args: -v --timeout=10m
|
||||
|
Loading…
Reference in New Issue
Block a user