starting accounts #2
2 changed files with 12 additions and 3 deletions
11
.vscode/settings.json
vendored
11
.vscode/settings.json
vendored
|
@ -2,6 +2,15 @@
|
|||
"editor.formatOnSave": true,
|
||||
"go.lintTool": "golangci-lint",
|
||||
"go.lintFlags": [
|
||||
"--fast"
|
||||
"--path-mode=abs",
|
||||
"--fast-only"
|
||||
],
|
||||
"go.formatTool": "custom",
|
||||
"go.alternateTools": {
|
||||
"customFormatter": "golangci-lint-v2"
|
||||
},
|
||||
"go.formatFlags": [
|
||||
"fmt",
|
||||
"--stdin"
|
||||
]
|
||||
}
|
|
@ -7,5 +7,5 @@ steps:
|
|||
commands:
|
||||
- apk update
|
||||
- apk add bash curl jq
|
||||
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.0.2
|
||||
- $(go env GOPATH)/bin/golangci-lint run --fast
|
||||
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.1.2
|
||||
- $(go env GOPATH)/bin/golangci-lint run
|
||||
|
|
Loading…
Reference in a new issue