Skip to content

Commit

Permalink
Merge pull request #405 from mattfarina/bump-go-testing
Browse files Browse the repository at this point in the history
Updating the Go versions used in testing
  • Loading branch information
mattfarina committed Aug 28, 2024
2 parents 581758e + ca34df7 commit c66f154
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
on: [push, pull_request]
name: Tests
permissions:
contents: read
jobs:
test:
strategy:
matrix:
go-version: [1.17.x, 1.18.x, 1.19.x]
go-version: [1.21.x, 1.22.x, 1.23.x]
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v3
- name: Test
env:
GO111MODULE: on
run: go test -cover .
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v4
- name: Test
env:
GO111MODULE: on
run: go test -cover .

0 comments on commit c66f154

Please sign in to comment.