Skip to content

Commit

Permalink
chore: constrain go version examples run with (libp2p#57)
Browse files Browse the repository at this point in the history
quic-go can't be built on go1.20 so make sure the example tests only run with go1.19.

```
Error:     ../../../../go/pkg/mod/github.com/lucas-clemente/quic-go@v0.31.1/internal/qtls/go120.go:5:13: cannot use "The version of quic-go you're using can't be built on Go 1.20 yet. For more details, please see https://github.com/lucas-clemente/quic-go/wiki/quic-go-and-Go-versions." (untyped string constant "The version of quic-go you're using can't be built on Go 1.20 yet. F...) as int value in variable declaration
```
  • Loading branch information
achingbrain committed Mar 22, 2023
1 parent 9435f0d commit aa177a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
node-version: lts/*
- uses: actions/setup-go@v3
with:
go-version: '>=1.19.0'
go-version: '1.19.0'
- name: Install dependencies for webtransport in root
run: npm install
working-directory: .
Expand All @@ -44,4 +44,4 @@ jobs:
- name: Run tests
run: npm run test
env:
CI: true
CI: true

0 comments on commit aa177a8

Please sign in to comment.