File tree Expand file tree Collapse file tree 4 files changed +6
-16
lines changed Expand file tree Collapse file tree 4 files changed +6
-16
lines changed Original file line number Diff line number Diff line change @@ -16,9 +16,9 @@ name: Format Go code
16
16
17
17
on :
18
18
push :
19
- branches : [ main, dev ]
19
+ branches : [ main ]
20
20
pull_request :
21
- branches : [ main, dev ]
21
+ branches : [ main ]
22
22
23
23
jobs :
24
24
build :
27
27
- uses : actions/checkout@v4
28
28
- name : Set up Go
29
29
uses : actions/setup-go@v5
30
- with :
31
- go-version : " >=1.18.0"
32
30
33
31
- name : Install goimports
34
32
run : go install golang.org/x/tools/cmd/goimports@latest
Original file line number Diff line number Diff line change @@ -19,9 +19,9 @@ name: Go
19
19
20
20
on :
21
21
push :
22
- branches : [ "main", "dev" ]
22
+ branches : [ "main" ]
23
23
pull_request :
24
- branches : [ "main", "dev" ]
24
+ branches : [ "main" ]
25
25
26
26
jobs :
27
27
32
32
33
33
- name : Set up Go
34
34
uses : actions/setup-go@v5
35
- with :
36
- go-version : ' 1.18.0'
37
35
38
36
- name : Build
39
37
run : go build -v ./...
Original file line number Diff line number Diff line change 18
18
tags :
19
19
- v*
20
20
branches :
21
- - master
22
21
- main
23
- - dev
24
22
pull_request :
25
23
permissions :
26
24
contents : read
32
30
runs-on : ubuntu-latest
33
31
steps :
34
32
- uses : actions/setup-go@v5
35
- with :
36
- go-version : ' 1.18.0'
37
33
- uses : actions/checkout@v4
38
34
- name : golangci-lint
39
35
uses : golangci/golangci-lint-action@v6
Original file line number Diff line number Diff line change @@ -16,9 +16,9 @@ name: Integration Test
16
16
17
17
on :
18
18
push :
19
- branches : [ main, dev ]
19
+ branches : [ main ]
20
20
pull_request :
21
- branches : [ main, dev ]
21
+ branches : [ main ]
22
22
23
23
jobs :
24
24
build :
27
27
- uses : actions/checkout@v4
28
28
- name : Set up Go
29
29
uses : actions/setup-go@v4
30
- with :
31
- go-version : ' >=1.18.0'
32
30
33
31
- name : Test
34
32
run : sudo sh ./script/integrate_test.sh
You can’t perform that action at this time.
0 commit comments