Skip to content

Commit

Permalink
Merge pull request #81 from ksysoev/80-add-22-go-to-ci-tests
Browse files Browse the repository at this point in the history
Update Go version in GitHub Actions workflow to include matrix strategy
  • Loading branch information
ksysoev committed Jun 12, 2024
2 parents ba32846 + 35e13eb commit 7cf34e4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,15 @@ permissions:
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ["1.21.x", "1.22.x"]
steps:
- uses: actions/checkout@v3
- name: Setup Go 1.21
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v3
with:
go-version: "1.21.x"
go-version: ${{ matrix.go-version }}
- name: Display Go version
run: go version
- name: Code Lint
Expand Down

0 comments on commit 7cf34e4

Please sign in to comment.