File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ name: Continuous Integration
3
3
on :
4
4
push :
5
5
branches :
6
+ - main
6
7
- master
7
8
pull_request :
8
9
@@ -12,21 +13,20 @@ jobs:
12
13
timeout-minutes : 10
13
14
strategy :
14
15
matrix :
15
- go-version : [1.13.x, 1.14 .x, 1.15 .x]
16
+ go-version : [1.13.x, 1.18 .x, 1.19 .x]
16
17
platform : [ubuntu-latest]
17
18
runs-on : ${{ matrix.platform }}
18
19
steps :
19
20
- name : Install Go
20
- uses : actions/setup-go@v2
21
+ uses : actions/setup-go@v3
21
22
with :
22
23
go-version : ${{ matrix.go-version }}
23
24
- name : Checkout code
24
- uses : actions/checkout@v2
25
+ uses : actions/checkout@v3
25
26
- name : Validate headers
27
+ if : startsWith(matrix.go-version, '1.13') == false
26
28
run : |
27
- pushd $(mktemp -d) \
28
- && go get -u github.com/kunalkushwaha/ltag \
29
- && popd \
29
+ go install github.com/kunalkushwaha/ltag@latest \
30
30
&& ./scripts/validate/fileheader
31
31
- name : Test
32
32
run : go test -v ./...
You can’t perform that action at this time.
0 commit comments