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
5 changed files with 8 additions and 8 deletions

View File

@@ -1,10 +1,6 @@
# WARNING: This file is autogenerated - changes will be overwritten when regenerated by https://github.com/pulumi/ci-mgmt
# Overrides for test workflows
[env]
# Acceptance (specifically providertest) tests require that PULUMI_HOME be the default
PULUMI_HOME = "{{ env.HOME }}/.pulumi"
# Overrides tool versions for test workflows
[tools]
# always use pulumi latest for tests

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"