generated from kubernetes/kubernetes-template-project
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #126 from jgiannuzzi/fix-linter
Upgrade `golangci-lint` to 1.61.0
- Loading branch information
Showing
4 changed files
with
10 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
gofumpt := mvdan.cc/[email protected] | ||
gosimports := github.com/rinchsan/gosimports/cmd/[email protected] | ||
golangci_lint := github.com/golangci/golangci-lint/cmd/golangci-lint@v1.53.2 | ||
golangci_lint := github.com/golangci/golangci-lint/cmd/golangci-lint@v1.61.0 | ||
|
||
examples/advanced/main.wasm: examples/advanced/main.go | ||
@(cd $(@D); tinygo build -o main.wasm -gc=custom -tags=custommalloc -scheduler=none --no-debug -target=wasi .) | ||
|
@@ -33,7 +33,7 @@ bench-guest: guest/.tinygo-target.json | |
# This makes a wasi target that uses the same wazero version as the scheduler. | ||
wazero_version := $(shell (cd scheduler; go list -f '{{ .Module.Version }}' github.com/tetratelabs/wazero)) | ||
guest/.tinygo-target.json: scheduler/go.mod | ||
@sed 's~"wasmtime.*"~"go run github.com/tetratelabs/wazero/cmd/wazero@$(wazero_version) run {}"~' $(shell tinygo env TINYGOROOT)/targets/wasi.json > $@ | ||
@jq '."emulator" = "go run github.com/tetratelabs/wazero/cmd/wazero@$(wazero_version) run {}"' $(shell tinygo env TINYGOROOT)/targets/wasi.json > $@ | ||
|
||
.PHONY: build-wat | ||
build-wat: $(wildcard scheduler/test/testdata/*/*.wat) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters