File tree Expand file tree Collapse file tree 2 files changed +27
-7
lines changed Expand file tree Collapse file tree 2 files changed +27
-7
lines changed Original file line number Diff line number Diff line change 1
- name : gci
1
+ name : build
2
2
3
3
on :
4
4
pull_request :
5
5
6
6
jobs :
7
7
build :
8
- name : Tests
8
+ name : Build and Tests
9
9
runs-on : ${{ matrix.os }}
10
10
env :
11
11
GOVER : 1.23
@@ -22,13 +22,10 @@ jobs:
22
22
uses : actions/setup-go@v5
23
23
with :
24
24
go-version : ${{ env.GOVER }}
25
- - name : golangci-lint
26
- if : matrix.os == 'linux'
27
- uses : golangci/golangci-lint-action@v6
28
- with :
29
- version : ${{ env.GOLANGCILINT_VER }}
30
25
- name : Run make test
31
26
env :
32
27
COVERAGE_OPTS : " -coverprofile=coverage.txt -covermode=atomic"
33
28
run : make test
29
+ - name : Run make build
30
+ run : make build
34
31
Original file line number Diff line number Diff line change
1
+ name : lint
2
+
3
+ on :
4
+ pull_request :
5
+
6
+ jobs :
7
+ lint :
8
+ runs-on : ubuntu-latest
9
+ env :
10
+ GOVER : 1.23
11
+ GOPROXY : https://proxy.golang.org
12
+ steps :
13
+ - name : Check out code into the Go module directory
14
+ uses : actions/checkout@v4
15
+ - name : Set up Go ${{ env.GOVER }}
16
+ uses : actions/setup-go@v5
17
+ with :
18
+ go-version : ${{ env.GOVER }}
19
+ - name : golangci-lint
20
+ uses : golangci/golangci-lint-action@v6
21
+ with :
22
+ version : ${{ env.GOLANGCILINT_VER }}
23
+
You can’t perform that action at this time.
0 commit comments