File tree 3 files changed +11
-8
lines changed
3 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -12,20 +12,26 @@ jobs:
12
12
GO111MODULE : on
13
13
steps :
14
14
- uses : actions/checkout@v3
15
- - uses : actions/setup-go@v3
15
+ - uses : actions/setup-go@v4
16
16
with :
17
17
go-version : ' 1.20'
18
18
check-latest : true
19
19
20
- - name : Get tools
20
+ - name : environment
21
+ run : |
22
+ env | sort
23
+
24
+ - name : Setup tools
21
25
run : |
22
26
make tools
27
+
23
28
- name : Lint
24
- run : |
25
- ./scripts/test
29
+ uses : golangci/golangci-lint-action@v3
30
+
26
31
- name : Build sso-auth
27
32
run : |
28
33
make dist/sso-auth
34
+
29
35
- name : Build sso-proxy
30
36
run : |
31
37
make dist/sso-proxy
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ dist/sso-proxy:
17
17
18
18
tools :
19
19
go get golang.org/x/lint/golint
20
- go get github.com/rakyll/statik
20
+ go get github.com/rakyll/statik
21
21
22
22
test :
23
23
./scripts/test
Original file line number Diff line number Diff line change 24
24
echo " running go mod verify ..."
25
25
go mod verify
26
26
27
- echo " running golint ..."
28
- golint -set_exit_status cmd internal
29
-
30
27
echo " running go vet ..."
31
28
go vet ./...
32
29
You can’t perform that action at this time.
0 commit comments