Skip to content

Commit

Permalink
Experiment with Go versions higher than 1.17.
Browse files Browse the repository at this point in the history
Tests fail to link with Go 1.17, but seems fine at 1.20, so something must have changed at some point...
  • Loading branch information
tommie committed Dec 30, 2023
1 parent 37e1150 commit 0eb0ab7
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ jobs:
go-version:
# Check the earliest and two trailing versions, to keep
# maintainance of this file reasonable.
- 1.17
- 1.18
- 1.19
- oldstable
- stable
include:
Expand All @@ -38,6 +39,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Set Up Workspace
# Submodules shouldn't cause a download.
run: |
set -o pipefail
go work init . $(ls ./deps/*_*/cgo.go | xargs -r dirname)
- name: Run Tests With Coverage
run: go test -v -coverprofile coverage.out ./...
env:
Expand Down

0 comments on commit 0eb0ab7

Please sign in to comment.