2022-08-22 11:50:58 +02:00
|
|
|
# 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/**"
|
2022-08-29 17:33:42 +02:00
|
|
|
- "fullbuild"
|
2022-08-22 11:50:58 +02:00
|
|
|
|
|
|
|
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 ./...
|
|
|
|
|