Compare commits

..

1 Commits

Author SHA1 Message Date
Alberto Pose
e71ec20ea6 Update golangci-lint version to 2 via mise.toml
---

Co-authored-by: @Zaid-Ajaj
2025-11-07 16:53:41 +00:00
4 changed files with 7 additions and 3 deletions

View File

@@ -3,7 +3,6 @@
[env]
_.source = "{{config_root}}/scripts/get-versions.sh"
PULUMI_HOME = "{{config_root}}/.pulumi"
[tools]

View File

@@ -762,7 +762,8 @@ jobs:
uses: golangci/golangci-lint-action@55c2c1448f86e01eaae002a5a3a9624417608d84 # v6.5.2
with:
version: ${{ env.GOLANGCI_LINT_VERSION }}
working-directory: .
args: -c ../.golangci.yml
working-directory: provider
name: lint
if: github.event_name == 'repository_dispatch' ||
github.event.pull_request.head.repo.full_name == github.repository

View File

@@ -606,7 +606,8 @@ jobs:
uses: golangci/golangci-lint-action@55c2c1448f86e01eaae002a5a3a9624417608d84 # v6.5.2
with:
version: ${{ env.GOLANGCI_LINT_VERSION }}
working-directory: .
args: -c ../.golangci.yml
working-directory: provider
name: lint
if: github.event_name == 'repository_dispatch' ||
github.event.pull_request.head.repo.full_name == github.repository

3
mise.toml Normal file
View File

@@ -0,0 +1,3 @@
[tools]
golangci-lint = "2.5.0"
go = "1.25.1"