Skip to content

Commit

Permalink
update ci actions and test with supported go versions
Browse files Browse the repository at this point in the history
Signed-off-by: cpanato <ctadeu@gmail.com>
  • Loading branch information
cpanato authored and wlynch committed May 30, 2024
1 parent 4f391ad commit d845b12
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,20 @@ jobs:
build:
name: Build
runs-on: ubuntu-latest

strategy:
matrix:
go-version: ['1.21', '1.22']

steps:
- name: Set up Go 1.17
uses: actions/setup-go@v2
- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: 1.17
go-version: ${{ matrix.go-version }}
check-latest: true

- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6

- name: Get dependencies
run: go get -v -t -d ./...
Expand Down

0 comments on commit d845b12

Please sign in to comment.