Skip to content

Commit

Permalink
Add matrix testing (#12)
Browse files Browse the repository at this point in the history
* test matrices

* fix actions/checkout

* limit matrix to 1.17 and 1.18
  • Loading branch information
alehechka authored May 12, 2022
1 parent d8b94ad commit 4c7c318
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,17 @@ jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
version: [1.17, 1.18]
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.version }}

- name: Install dependencies
run: go mod download
Expand Down

0 comments on commit 4c7c318

Please sign in to comment.