Skip to content

Commit 20e9816

Browse files
[internal] Update GitHub Actions workflow files (#491)
Co-authored-by: Pulumi Bot <bot@pulumi.com>
1 parent 8e1b0db commit 20e9816

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

.config/mise.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ java = 'corretto-11'
2121
"github:pulumi/schema-tools" = "0.6.0"
2222
"go:github.com/pulumi/upgrade-provider" = "main"
2323
"aqua:gradle/gradle-distributions" = '7.6.6'
24-
golangci-lint = "1.64.8" # See note about about overrides if you need to customize this.
24+
golangci-lint = "2.2.2" # See note about about overrides if you need to customize this.
2525
"npm:yarn" = "1.22.22"
2626

2727
[settings]

.golangci.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# WARNING: This file is autogenerated - changes will be overwritten when regenerated by https://github.com/pulumi/ci-mgmt
2+
13
version: "2"
24
linters:
35
enable:
@@ -22,18 +24,23 @@ linters:
2224
- third_party$
2325
- builtin$
2426
- examples$
27+
rules:
28+
- linters:
29+
- revive
30+
path: pkg/version/
31+
text: "var-naming" # https://github.com/pulumi/ci-mgmt/issues/2100
2532
formatters:
2633
enable:
2734
- gci
2835
- gofmt
2936
settings:
3037
gci:
3138
sections:
32-
- standard
33-
- blank
34-
- default
35-
- prefix(github.com/pulumi/)
36-
- prefix(github.com/pulumi/pulumi-xyz)
39+
- standard # Standard section: captures all standard library packages.
40+
- blank # Blank section: contains all blank imports.
41+
- default # Default section: contains all imports that could not be matched to another section type.
42+
- prefix(github.com/pulumi/) # Custom section: groups all imports with the github.com/pulumi/ prefix.
43+
- prefix(github.com/pulumi/pulumi-xyz) # Custom section: local imports
3744
custom-order: true
3845
exclusions:
3946
generated: lax

0 commit comments

Comments
 (0)