Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
axetroy committed Nov 19, 2020
1 parent ef5b38a commit b907117
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,10 @@ jobs:
go version
go env
- name: Install tools
env:
GO111MODULE: on
run: |
go get github.com/golangci/golangci-lint/cmd/[email protected]
golangci-lint --version
- name: Lint
run: make lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.32.2

- name: Format
run: make format-check
Expand Down
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"promptForTags": false,
"transform": "snakecase"
},
"go.lintTool":"golangci-lint",
"go.buildFlags": ["-mode=vendor"],
"go.toolsEnvVars": {
"GOFLAGS": "-mod=vendor"
Expand Down

0 comments on commit b907117

Please sign in to comment.