mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
Bump minimum version of go to 1.22
This fixes a pointer bug in our broker sqs code by enabling the loopvar feature https://go.dev/wiki/LoopvarExperiment See tpo/anti-censorship/pluggable-transports/snowflake#40363
This commit is contained in:
parent
fdac01ca90
commit
116fe9f578
2 changed files with 5 additions and 5 deletions
|
@ -152,8 +152,8 @@ android:
|
||||||
- go get golang.org/x/mobile/bind
|
- go get golang.org/x/mobile/bind
|
||||||
- gomobile bind -v -target=android $REPRODUCIBLE_FLAGS .
|
- gomobile bind -v -target=android $REPRODUCIBLE_FLAGS .
|
||||||
|
|
||||||
go-1.21:
|
go-1.22:
|
||||||
image: ${DOCKER_REGISTRY_URL}/golang:1.21-$DEBIAN_STABLE
|
image: ${DOCKER_REGISTRY_URL}/golang:1.22-$DEBIAN_STABLE
|
||||||
<<: *golang-docker-debian-template
|
<<: *golang-docker-debian-template
|
||||||
<<: *test-template
|
<<: *test-template
|
||||||
script:
|
script:
|
||||||
|
@ -174,7 +174,7 @@ debian-testing:
|
||||||
- *go-test
|
- *go-test
|
||||||
|
|
||||||
shadow-integration:
|
shadow-integration:
|
||||||
image: ${DOCKER_REGISTRY_URL}/golang:1.21-$DEBIAN_STABLE
|
image: ${DOCKER_REGISTRY_URL}/golang:1.22-$DEBIAN_STABLE
|
||||||
variables:
|
variables:
|
||||||
SHADOW_VERSION: "193924aae0dab30ffda0abe29467f552949849fa"
|
SHADOW_VERSION: "193924aae0dab30ffda0abe29467f552949849fa"
|
||||||
TGEN_VERSION: "v1.1.2"
|
TGEN_VERSION: "v1.1.2"
|
||||||
|
@ -263,7 +263,7 @@ shadow-integration:
|
||||||
|
|
||||||
generate_tarball:
|
generate_tarball:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
image: ${DOCKER_REGISTRY_URL}/golang:1.21-$DEBIAN_STABLE
|
image: ${DOCKER_REGISTRY_URL}/golang:1.22-$DEBIAN_STABLE
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_TAG
|
- if: $CI_COMMIT_TAG
|
||||||
script:
|
script:
|
||||||
|
|
2
go.mod
2
go.mod
|
@ -1,6 +1,6 @@
|
||||||
module gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/v2
|
module gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/v2
|
||||||
|
|
||||||
go 1.21
|
go 1.22
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/aws/aws-sdk-go-v2 v1.36.1
|
github.com/aws/aws-sdk-go-v2 v1.36.1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue