-
Notifications
You must be signed in to change notification settings - Fork 441
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #405 from mattfarina/bump-go-testing
Updating the Go versions used in testing
- Loading branch information
Showing
1 changed file
with
13 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 . |