This repository was archived by the owner on May 24, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed
Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ name : golangci-lint
2+ on :
3+ push :
4+ tags :
5+ - v*
6+ branches :
7+ - master
8+ - main
9+ pull_request :
10+ jobs :
11+ golangci :
12+ name : lint
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v2
16+ - name : golangci-lint
17+ uses : golangci/golangci-lint-action@v2
18+ with :
19+ # Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
20+ version : latest
21+
22+ # Optional: working directory, useful for monorepos
23+ # working-directory: somedir
24+
25+ # Optional: golangci-lint command line arguments.
26+ # args: --issues-exit-code=0
27+
28+ # Optional: show only new issues if it's a pull request. The default value is `false`.
29+ # only-new-issues: true
30+
31+ # Optional: if set to true then the action will use pre-installed Go.
32+ # skip-go-installation: true
33+
34+ # Optional: if set to true then the action don't cache or restore ~/go/pkg.
35+ # skip-pkg-cache: true
36+
37+ # Optional: if set to true then the action don't cache or restore ~/.cache/go-build.
38+ # skip-build-cache: true
You can’t perform that action at this time.
0 commit comments