We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51e1426 commit 0eb3f4fCopy full SHA for 0eb3f4f
.github/workflows/lint.yml
@@ -26,10 +26,27 @@ jobs:
26
cache: true
27
- name: Download Dependencies
28
run: go mod download
29
- - name: unit test
30
- timeout-minutes: 5
+ - name: lint
+ timeout-minutes: 8
31
env:
32
- TESTSUITE: lintall
+ TESTSUITE: lint
33
run: make test
34
continue-on-error: false
35
+ - name: boilerplate check
36
+ timeout-minutes: 2
37
+ env:
38
+ TESTSUITE: boilerplate
39
+ run: make test
40
+ continue-on-error: false
41
+ - name: gomod tidy check
42
43
44
+ run: |
45
+ make gomodtidy
46
+ if ! git diff --quiet; then
47
+ echo "::error::Please run 'make gomodtidy' and commit the changes"
48
+ git diff --name-only
49
+ exit 1
50
+ fi
51
52
+
0 commit comments