File tree Expand file tree Collapse file tree 3 files changed +40
-0
lines changed Expand file tree Collapse file tree 3 files changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : " gomod" # See documentation for possible values
4+ directory : " /" # Location of package manifests
5+ schedule :
6+ interval : " weekly"
Original file line number Diff line number Diff line change 1+ name : Review
2+ on :
3+ push :
4+ branches :
5+ - main
6+ pull_request :
7+ jobs :
8+ lint :
9+ name : lint
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Install Go
13+ uses : actions/setup-go@v2
14+ with :
15+ go-version : v1.17
16+ - name : Checkout code
17+ uses : actions/checkout@v2
18+ - name : Run linter
19+ run : make lint
20+ spell-check :
21+ name : spell-check
22+ runs-on : ubuntu-latest
23+ steps :
24+ - uses : actions/checkout@v1
25+ - uses : reviewdog/action-misspell@v1
26+ with :
27+ reporter : github-pr-review
28+ github_token : ${{ secrets.github_token }}
29+ locale : " US"
Original file line number Diff line number Diff line change 88 go test ./... -race
99.PHONY : test
1010
11+ GOLANGCI_LINT =go run github.com/golangci/golangci-lint/cmd/golangci-lint@v1.42.1
12+ lint :
13+ $(GOLANGCI_LINT ) run
14+ .PHONY : lint
15+
You can’t perform that action at this time.
0 commit comments