Skip to content

Commit

Permalink
feat(ci): run build job against go 1.19, 1.20 and 1.21 (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhevron authored Jan 18, 2024
1 parent 6754d75 commit 3cca9b4
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,17 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.19', '1.20', '1.21.x' ]
steps:
- uses: actions/checkout@v3
- name: Set up Go
- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: ${{ matrix.go-version }}
- name: Display Go version
run: go version
- name: Build
run: go build -v ./...
- name: Test
Expand Down

0 comments on commit 3cca9b4

Please sign in to comment.