8000 Run tests on a matrix of go versions. by panmari · Pull Request #168 · golang/geo · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Run tests on a matrix of go versions. #168

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 2, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,18 @@ jobs:

build:
runs-on: ubuntu-latest
strategy:
matrix:
# Test on supported go compiler releases as well as the oldest version we support from go.mod.
go: [ '1.21.0', 'oldstable', 'stable' ]
name: Go version ${{ matrix.go }}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Set up Go
uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
with:
# TODO: enable [matrix testing](https://github.com/marketplace/actions/setup-go-environment#matrix-testing)
# so that we can test on both stable, oldstable and the oldest version
# we currently support (as specified in go.mod).
go-version: 'stable'
go-version: ${{ matrix.go }}

- name: Build
run: go build -v ./...
Expand Down
0