0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-07-02 03:22:59 +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:
renovate[bot] 2025-03-12 14:50:15 -04:00 committed by GitHub
parent ed0a8d3b19
commit 0977473dd2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -27,19 +27,20 @@ jobs:
filters: | filters: |
go: go:
- '**/*.go' - '**/*.go'
linter:
- .github/workflows/golangci-lint.yml
- name: Setup Go - name: Setup Go
uses: actions/setup-go@v5 uses: actions/setup-go@v5
if: ${{ steps.filter.outputs.go == 'true' }} if: ${{ steps.filter.outputs.go == 'true' || steps.filter.outputs.linter == 'true'}}
with: with:
go-version-file: "go.mod" go-version-file: "go.mod"
cache-dependency-path: | cache-dependency-path: |
go.sum go.sum
- name: Lint code - 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 uses: golangci/golangci-lint-action@v6
with: with:
# renovate: datasource=github-releases depName=golangci/golangci-lint version: v1.64.7 # renovate: datasource=github-releases depName=golangci/golangci-lint
version: v1.64.5
args: -v --timeout=10m args: -v --timeout=10m