Skip to content

Commit 57d1ca2

Browse files
authored
Merge pull request #90 from thaJeztah/update_go_versions
gha: update go versions
2 parents dbc7151 + 9e99574 commit 57d1ca2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Diff for: .github/workflows/ci.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Continuous Integration
33
on:
44
push:
55
branches:
6+
- main
67
- master
78
pull_request:
89

@@ -12,21 +13,20 @@ jobs:
1213
timeout-minutes: 10
1314
strategy:
1415
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]
1617
platform: [ubuntu-latest]
1718
runs-on: ${{ matrix.platform }}
1819
steps:
1920
- name: Install Go
20-
uses: actions/setup-go@v2
21+
uses: actions/setup-go@v3
2122
with:
2223
go-version: ${{ matrix.go-version }}
2324
- name: Checkout code
24-
uses: actions/checkout@v2
25+
uses: actions/checkout@v3
2526
- name: Validate headers
27+
if: startsWith(matrix.go-version, '1.13') == false
2628
run: |
27-
pushd $(mktemp -d) \
28-
&& go get -u github.com/kunalkushwaha/ltag \
29-
&& popd \
29+
go install github.com/kunalkushwaha/ltag@latest \
3030
&& ./scripts/validate/fileheader
3131
- name: Test
3232
run: go test -v ./...

0 commit comments

Comments
 (0)