Skip to content

Commit

Permalink
Test against 1.21.x and 1.20.x
Browse files Browse the repository at this point in the history
  • Loading branch information
peterhellberg committed Sep 8, 2023
1 parent 7699f00 commit 9885a9f
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
on: [push, pull_request]
on:
push:
branches:
- master
pull_request:
branches:
- master
name: Tests
jobs:
test:
strategy:
matrix:
go-version: [1.20.x, 1.19.x]
go-version: [1.21.x, 1.20.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -13,6 +19,6 @@ jobs:
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run tests
run: go test -v ./...

0 comments on commit 9885a9f

Please sign in to comment.