fix: disable psiphon when building with go1.19 (#871)

Part of https://github.com/ooni/probe/issues/2211.

See also https://github.com/ooni/probe/issues/2222, which
describes the issue we have with psiphon and go1.19.
This commit is contained in:
Simone Basso 2022-08-22 11:50:58 +02:00 committed by GitHub
commit 208ffa253b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
26 changed files with 113 additions and 37 deletions

View file

@ -15,7 +15,7 @@ jobs:
id: goversion
run: echo ::set-output name=version::$(cat GOVERSION)
- uses: actions/setup-go@v1
- uses: actions/setup-go@v3
with:
go-version: "${{ steps.goversion.outputs.version }}"

View file

@ -22,7 +22,7 @@ jobs:
id: goversion
run: echo ::set-output name=version::$(cat GOVERSION)
- uses: actions/setup-go@v1
- uses: actions/setup-go@v3
with:
go-version: "${{ steps.goversion.outputs.version }}"

View file

@ -15,7 +15,7 @@ jobs:
id: goversion
run: echo ::set-output name=version::$(cat GOVERSION)
- uses: actions/setup-go@v1
- uses: actions/setup-go@v3
with:
go-version: "${{ steps.goversion.outputs.version }}"

27
.github/workflows/go1.19.yml vendored Normal file
View file

@ -0,0 +1,27 @@
# Interim build script checking for go1.19
#
# Psiphon not working with go1.19: TODO(https://github.com/ooni/probe/issues/2222)
#
name: go1.19
on:
pull_request:
push:
branches:
- "master"
- "release/**"
jobs:
build_and_test:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- run: go install golang.org/dl/go1.19@latest
- run: $(go env GOPATH)/bin/go1.19 download
- run: $(go env GOPATH)/bin/go1.19 build -v ./...
- run: $(go env GOPATH)/bin/go1.19 test -short -race -tags shaping ./...

View file

@ -19,7 +19,7 @@ jobs:
id: goversion
run: echo ::set-output name=version::$(cat GOVERSION)
- uses: actions/setup-go@v1
- uses: actions/setup-go@v3
with:
go-version: "${{ steps.goversion.outputs.version }}"

View file

@ -22,7 +22,7 @@ jobs:
id: goversion
run: echo ::set-output name=version::$(cat GOVERSION)
- uses: actions/setup-go@v1
- uses: actions/setup-go@v3
with:
go-version: "${{ steps.goversion.outputs.version }}"

View file

@ -15,7 +15,7 @@ jobs:
id: goversion
run: echo ::set-output name=version::$(cat GOVERSION)
- uses: actions/setup-go@v1
- uses: actions/setup-go@v3
with:
go-version: "${{ steps.goversion.outputs.version }}"

View file

@ -22,7 +22,7 @@ jobs:
id: goversion
run: echo ::set-output name=version::$(cat GOVERSION)
- uses: actions/setup-go@v1
- uses: actions/setup-go@v3
with:
go-version: "${{ steps.goversion.outputs.version }}"

View file

@ -27,7 +27,7 @@ jobs:
id: goversion
run: echo ::set-output name=version::$(cat GOVERSION)
- uses: actions/setup-go@v1
- uses: actions/setup-go@v3
with:
go-version: "${{ steps.goversion.outputs.version }}"

View file

@ -19,7 +19,7 @@ jobs:
id: goversion
run: echo ::set-output name=version::$(cat GOVERSION)
- uses: actions/setup-go@v1
- uses: actions/setup-go@v3
with:
go-version: "${{ steps.goversion.outputs.version }}"

View file

@ -15,7 +15,7 @@ jobs:
id: goversion
run: echo ::set-output name=version::$(cat GOVERSION)
- uses: actions/setup-go@v1
- uses: actions/setup-go@v3
with:
go-version: "${{ steps.goversion.outputs.version }}"

View file

@ -15,7 +15,7 @@ jobs:
id: goversion
run: echo ::set-output name=version::$(cat GOVERSION)
- uses: actions/setup-go@v1
- uses: actions/setup-go@v3
with:
go-version: "${{ steps.goversion.outputs.version }}"

View file

@ -15,7 +15,7 @@ jobs:
id: goversion
run: echo ::set-output name=version::$(cat GOVERSION)
- uses: actions/setup-go@v1
- uses: actions/setup-go@v3
with:
go-version: "${{ steps.goversion.outputs.version }}"

View file

@ -15,7 +15,7 @@ jobs:
id: goversion
run: echo ::set-output name=version::$(cat GOVERSION)
- uses: actions/setup-go@v1
- uses: actions/setup-go@v3
with:
go-version: "${{ steps.goversion.outputs.version }}"

View file

@ -15,7 +15,7 @@ jobs:
id: goversion
run: echo ::set-output name=version::$(cat GOVERSION)
- uses: actions/setup-go@v1
- uses: actions/setup-go@v3
with:
go-version: "${{ steps.goversion.outputs.version }}"

View file

@ -15,7 +15,7 @@ jobs:
id: goversion
run: echo ::set-output name=version::$(cat GOVERSION)
- uses: actions/setup-go@v1
- uses: actions/setup-go@v3
with:
go-version: "${{ steps.goversion.outputs.version }}"

View file

@ -21,7 +21,7 @@ jobs:
id: goversion
run: echo ::set-output name=version::$(cat GOVERSION)
- uses: actions/setup-go@v1
- uses: actions/setup-go@v3
with:
go-version: "${{ steps.goversion.outputs.version }}"

View file

@ -19,7 +19,7 @@ jobs:
id: goversion
run: echo ::set-output name=version::$(cat GOVERSION)
- uses: actions/setup-go@v1
- uses: actions/setup-go@v3
with:
go-version: "${{ steps.goversion.outputs.version }}"