Skip to content

Commit

Permalink
Update GitHub Actions workflows. (#499)
Browse files Browse the repository at this point in the history
This PR was automatically generated by the
update-workflows-ecosystem-providers workflow in the pulumi/ci-mgmt
repo, from commit b6d3a9ffa9e3ffb274476425aa9668a2956f5d09.
  • Loading branch information
pulumi-bot authored Aug 30, 2024
1 parent 1d3244c commit 191c6c6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,19 @@ linters:
- govet
- ineffassign
- lll
- megacheck
- gosimple
- staticcheck
- misspell
- nakedret
- revive
- unconvert
- unused
enable-all: false
run:
skip-files:
issues:
exclude-files:
- schema.go
- pulumiManifest.go
run:
timeout: 20m
linters-settings:
gci:
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,12 @@ install_plugins: .pulumi/bin/pulumi
.pulumi/bin/pulumi plugin install resource random 4.3.1

lint_provider: provider
cd provider && golangci-lint run -c ../.golangci.yml
cd provider && golangci-lint run --path-prefix provider -c ../.golangci.yml

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

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

0 comments on commit 191c6c6

Please sign in to comment.