Skip to content

Commit

Permalink
Merge pull request #90 from thaJeztah/update_go_versions
Browse files Browse the repository at this point in the history
gha: update go versions
  • Loading branch information
thaJeztah authored Dec 19, 2022
2 parents dbc7151 + 9e99574 commit 57d1ca2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Continuous Integration
on:
push:
branches:
- main
- master
pull_request:

Expand All @@ -12,21 +13,20 @@ jobs:
timeout-minutes: 10
strategy:
matrix:
go-version: [1.13.x, 1.14.x, 1.15.x]
go-version: [1.13.x, 1.18.x, 1.19.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Validate headers
if: startsWith(matrix.go-version, '1.13') == false
run: |
pushd $(mktemp -d) \
&& go get -u github.com/kunalkushwaha/ltag \
&& popd \
go install github.com/kunalkushwaha/ltag@latest \
&& ./scripts/validate/fileheader
- name: Test
run: go test -v ./...

0 comments on commit 57d1ca2

Please sign in to comment.