Skip to content

Commit

Permalink
github: workaround golang/go#61888
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Deziel <[email protected]>
  • Loading branch information
simondeziel committed Oct 31, 2023
1 parent b6519d5 commit 678294a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,11 @@ jobs:
- name: Unit tests (all)
run: |
# XXX: Workaround https://github.com/golang/go/issues/61888
grep -Fx 'go 1.21.1' go.mod # Make sure the workaround is still needed
# Mangle `go.mod` to please `go test`
sed -i 's/^go 1\.21\.1$/go 1.21/; /^toolchain go1\./d' go.mod
sudo --preserve-env=CGO_CFLAGS,CGO_LDFLAGS,CGO_LDFLAGS_ALLOW,LD_LIBRARY_PATH LD_LIBRARY_PATH=${LD_LIBRARY_PATH} go test ./...
system-tests:
Expand Down

0 comments on commit 678294a

Please sign in to comment.