File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 12
12
- name : Checkout
13
13
uses : actions/checkout@v2
14
14
15
+ - name : Lint
16
+ uses : golangci/golangci-lint-action@v2
17
+ with :
18
+ version : v1.32.2
19
+ args : --timeout=5m
20
+
21
+ - name : Test
22
+ run : make test
23
+
15
24
- name : Figure out if running fork PR
16
25
id : fork
17
26
run : ' ["${{ secrets.DOCKER_REGISTRY_TOKEN }}" == ""] && echo "::set-output name=is_fork_pr::true" || echo "::set-output name=is_fork_pr::false"'
24
33
password : ${{ secrets.DOCKER_REGISTRY_TOKEN }}
25
34
if : steps.fork.outputs.is_fork_pr == 'false'
26
35
27
- - name : Lint
28
- uses : golangci/golangci-lint-action@v2
29
- with :
30
- version : v1.32.2
31
- args : --timeout=5m
32
-
33
36
- name : Build Docker image
34
37
run : |
35
38
export DOCKER_TAG=pr-${GITHUB_HEAD_REF}
You can’t perform that action at this time.
0 commit comments