File tree Expand file tree Collapse file tree 1 file changed +14
-13
lines changed Expand file tree Collapse file tree 1 file changed +14
-13
lines changed Original file line number Diff line number Diff line change 24
24
run : |
25
25
go test ./...
26
26
27
+ code_quality :
28
+ name : Code Quality🎖️
29
+ runs-on : ubuntu-latest
30
+ container : " golangci/golangci-lint:v1.62.2"
31
+ steps :
32
+ - name : Check out code into the Go module directory
33
+ uses : actions/checkout@v4
34
+ - name : Get dependencies
35
+ run : go get -v -t -d ./...
36
+ - name : GolangCI-Lint
37
+ run : |
38
+ golangci-lint run --timeout 9m0s
39
+
27
40
release_package :
28
41
if : ${{ startsWith(github.ref, 'refs/tags/v')}}
42
+ needs : [test_and_build,code_quality]
29
43
runs-on : ubuntu-latest
30
44
31
45
permissions :
62
76
context : .
63
77
file : Dockerfile
64
78
tags : zopdev/static-server:${{ env.RELEASE_VERSION }}
65
-
66
- code_quality :
67
- name : Code Quality🎖️
68
- runs-on : ubuntu-latest
69
- container : " golangci/golangci-lint:v1.62.2"
70
- steps :
71
- - name : Check out code into the Go module directory
72
- uses : actions/checkout@v4
73
- - name : Get dependencies
74
- run : go get -v -t -d ./...
75
- - name : GolangCI-Lint
76
- run : |
77
- golangci-lint run --timeout 9m0s
You can’t perform that action at this time.
0 commit comments