Skip to content

Commit 290c8c3

Browse files
authored
Update GitHub Actions workflows. (#4423)
This PR was automatically generated by the update-workflows-ecosystem-providers workflow in the pulumi/ci-mgmt repo, from commit b6d3a9ffa9e3ffb274476425aa9668a2956f5d09.
1 parent 0a57cd3 commit 290c8c3

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.golangci.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,19 @@ linters:
1010
- govet
1111
- ineffassign
1212
- lll
13-
- megacheck
13+
- gosimple
14+
- staticcheck
1415
- misspell
1516
- nakedret
1617
- revive
1718
- unconvert
1819
- unused
1920
enable-all: false
20-
run:
21-
skip-files:
21+
issues:
22+
exclude-files:
2223
- schema.go
2324
- pulumiManifest.go
25+
run:
2426
timeout: 20m
2527
linters-settings:
2628
gci:

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,12 +130,12 @@ install_plugins: .pulumi/bin/pulumi
130130
.pulumi/bin/pulumi plugin install converter terraform 1.0.17
131131

132132
lint_provider: provider
133-
cd provider && golangci-lint run -c ../.golangci.yml
133+
cd provider && golangci-lint run --path-prefix provider -c ../.golangci.yml
134134

135135
# `lint_provider.fix` is a utility target meant to be run manually
136136
# that will run the linter and fix errors when possible.
137137
lint_provider.fix:
138-
cd provider && golangci-lint run -c ../.golangci.yml --fix
138+
cd provider && golangci-lint run --path-prefix provider -c ../.golangci.yml --fix
139139

140140
# `make provider_no_deps` builds the provider binary directly, without ensuring that
141141
# `cmd/pulumi-resource-aws/schema.json` is valid and up to date.

0 commit comments

Comments
 (0)