chore: use go1.18.3 (#816)

This diff changes all github actions and mk to use go1.18.3.

That's what I am using locally.

Also, both oohttp and oocrypto are on go1.18.3 already.
This commit is contained in:
Simone Basso 2022-06-17 20:12:14 +02:00 committed by GitHub
parent 28585fbdc2
commit d4f530b7ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
21 changed files with 21 additions and 21 deletions

View File

@ -10,6 +10,6 @@ jobs:
steps:
- uses: actions/setup-go@v1
with:
go-version: "1.18.2"
go-version: "1.18.3"
- uses: actions/checkout@v2
- run: go test -race -tags shaping ./...

View File

@ -13,7 +13,7 @@ jobs:
steps:
- uses: actions/setup-go@v1
with:
go-version: "1.18.2"
go-version: "1.18.3"
- uses: actions/checkout@v2
with:
fetch-depth: 0

View File

@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
go:
- "1.18.2"
- "1.18.3"
steps:
- uses: magnetikonline/action-golang-cache@v2
with:

View File

@ -10,6 +10,6 @@ jobs:
steps:
- uses: actions/setup-go@v1
with:
go-version: "1.18.2"
go-version: "1.18.3"
- uses: actions/checkout@v2
- run: go generate ./...

View File

@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
go:
- "1.18.2"
- "1.18.3"
steps:
- name: Checkout Source
uses: actions/checkout@v2

View File

@ -13,7 +13,7 @@ jobs:
steps:
- uses: actions/setup-go@v1
with:
go-version: "1.18.2"
go-version: "1.18.3"
- uses: actions/checkout@v2
with:
fetch-depth: 0

View File

@ -10,7 +10,7 @@ jobs:
steps:
- uses: actions/setup-go@v1
with:
go-version: "1.18.2"
go-version: "1.18.3"
- uses: actions/checkout@v2
- run: go build -v ./internal/cmd/jafar
- run: sudo ./testjafar.bash

View File

@ -13,7 +13,7 @@ jobs:
steps:
- uses: actions/setup-go@v1
with:
go-version: "1.18.2"
go-version: "1.18.3"
- uses: actions/checkout@v2
with:
fetch-depth: 0

View File

@ -19,7 +19,7 @@ jobs:
- uses: actions/setup-go@v1
with:
go-version: "1.18.2"
go-version: "1.18.3"
- uses: actions/checkout@v2
with:

View File

@ -13,7 +13,7 @@ jobs:
runs-on: "${{ matrix.os }}"
strategy:
matrix:
go: [ "1.18.2" ]
go: [ "1.18.3" ]
os: [ "ubuntu-20.04", "windows-2019", "macos-10.15" ]
steps:
- uses: magnetikonline/action-golang-cache@v2

View File

@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v1
with:
go-version: "1.18.2"
go-version: "1.18.3"
- name: build oohelperd binary
run: GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o ./CLI/oohelperd-linux-amd64 -v -tags netgo -ldflags="-s -w -extldflags -static" ./internal/cmd/oohelperd

View File

@ -10,6 +10,6 @@ jobs:
steps:
- uses: actions/setup-go@v1
with:
go-version: "1.18.2"
go-version: "1.18.3"
- uses: actions/checkout@v2
- run: ./QA/rundocker.bash "fbmessenger"

View File

@ -10,6 +10,6 @@ jobs:
steps:
- uses: actions/setup-go@v1
with:
go-version: "1.18.2"
go-version: "1.18.3"
- uses: actions/checkout@v2
- run: ./QA/rundocker.bash "hhfm"

View File

@ -10,6 +10,6 @@ jobs:
steps:
- uses: actions/setup-go@v1
with:
go-version: "1.18.2"
go-version: "1.18.3"
- uses: actions/checkout@v2
- run: ./QA/rundocker.bash "hirl"

View File

@ -10,6 +10,6 @@ jobs:
steps:
- uses: actions/setup-go@v1
with:
go-version: "1.18.2"
go-version: "1.18.3"
- uses: actions/checkout@v2
- run: ./QA/rundocker.bash "telegram"

View File

@ -10,6 +10,6 @@ jobs:
steps:
- uses: actions/setup-go@v1
with:
go-version: "1.18.2"
go-version: "1.18.3"
- uses: actions/checkout@v2
- run: ./QA/rundocker.bash "webconnectivity"

View File

@ -10,6 +10,6 @@ jobs:
steps:
- uses: actions/setup-go@v1
with:
go-version: "1.18.2"
go-version: "1.18.3"
- uses: actions/checkout@v2
- run: ./QA/rundocker.bash "whatsapp"

View File

@ -16,7 +16,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: "1.18.2"
go-version: "1.18.3"
- name: Generate release tarball
run: |
VERSION=${GITHUB_REF_NAME#v}

View File

@ -13,7 +13,7 @@ jobs:
steps:
- uses: actions/setup-go@v1
with:
go-version: "1.18.2"
go-version: "1.18.3"
- uses: actions/checkout@v2
with:
fetch-depth: 0

View File

@ -53,7 +53,7 @@ Please, make sure you add the `ooni/probe-cli` label.
### ooniprobe
Be sure you have golang 1.18.2 and a C compiler (Mingw-w64 for Windows). You
Be sure you have golang 1.18.3 and a C compiler (Mingw-w64 for Windows). You
can build using:
```bash

2
mk
View File

@ -64,7 +64,7 @@ GOLANG_EXTRA_FLAGS =
#help:
#help: * GOLANG_VERSION_NUMBER : the expected version number for golang.
GOLANG_VERSION_NUMBER = 1.18.2
GOLANG_VERSION_NUMBER = 1.18.3
#help:
#help: * MINGW_W64_VERSION : the expected mingw-w64 version.