File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Commit subject
2+ on : [push, pull_request]
3+ jobs :
4+ check :
5+ runs-on : ubuntu-latest
6+ steps :
7+ - name : Check out code
8+ uses : actions/checkout@v2
9+ with :
10+ fetch-depth : 10
11+ - name : check-commit
12+ uses : docker://haproxytech/check-commit:latest
Original file line number Diff line number Diff line change 1- ---
2- reviewdog :
1+ stages :
2+ - lint
3+ golangci-lint :
4+ stage : lint
35 image :
46 name : golangci/golangci-lint:v1.21.0
57 entrypoint : [""]
@@ -9,6 +11,13 @@ reviewdog:
911 - go env
1012 - go mod verify
1113 - golangci-lint run -v --color always --timeout 120s
12- # - go get -u github.com/reviewdog/reviewdog/cmd/reviewdog
13- # - reviewdog -reporter=gitlab-mr-discussion
1414 - cd cmd/dataplaneapi/; go build .
15+ lint-commit-msg :
16+ stage : lint
17+ image :
18+ name : haproxytech/check-commit:latest
19+ entrypoint : [""]
20+ tags :
21+ - go
22+ script :
23+ - go run /check.go
You can’t perform that action at this time.
0 commit comments