From 02f2ded80271af2966aee8f78830c039b88e0d0d Mon Sep 17 00:00:00 2001 From: Christian Simon Date: Wed, 31 Jul 2024 13:30:13 +0100 Subject: [PATCH] Update golang version to 1.21.12 (#3424) --- .github/workflows/e2e.yaml | 4 ++-- .github/workflows/fuzzer.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/test.yml | 10 +++++----- .github/workflows/test_ebpf.yml | 4 ++-- .github/workflows/weekly-release.yml | 2 +- .goreleaser.yaml | 2 +- examples/golang-pgo/Dockerfile | 2 +- .../golang-push/rideshare/Dockerfile | 2 +- .../golang-push/rideshare/Dockerfile.load-generator | 2 +- .../golang-push/simple/Dockerfile | 2 +- 11 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 08a8535b30..e0b3a8f578 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -25,7 +25,7 @@ jobs: - name: Install Go uses: actions/setup-go@v4 with: - go-version: "1.21.11" + go-version: "1.21.12" cache: true - run: yarn --frozen-lockfile - run: make build @@ -55,7 +55,7 @@ jobs: - name: Install Go uses: actions/setup-go@v4 with: - go-version: "1.21.11" + go-version: "1.21.12" cache: true - run: yarn --frozen-lockfile - run: make build diff --git a/.github/workflows/fuzzer.yml b/.github/workflows/fuzzer.yml index 5fbf6012f5..db08e7eb09 100644 --- a/.github/workflows/fuzzer.yml +++ b/.github/workflows/fuzzer.yml @@ -13,6 +13,6 @@ jobs: - name: Install Go uses: actions/setup-go@v4 with: - go-version: 1.21.11 + go-version: 1.21.12 - name: Run Fuzz_Merge_Single run: go test -fuzz=Fuzz_Merge_Single --fuzztime 1h -run '^$' -v ./pkg/pprof/ diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8dc13dce0f..888c763ec5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,7 +28,7 @@ jobs: - run: git fetch --force --tags - uses: actions/setup-go@v3 with: - go-version: "1.21.11" + go-version: "1.21.12" cache: true - uses: actions/setup-node@v3 with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a4f44f89ae..9215438a97 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,7 +22,7 @@ jobs: - name: Install Go uses: actions/setup-go@v4 with: - go-version: 1.21.11 + go-version: 1.21.12 - name: Format run: make fmt check/unstaged-changes test: @@ -33,7 +33,7 @@ jobs: - name: Install Go uses: actions/setup-go@v4 with: - go-version: 1.21.11 + go-version: 1.21.12 - name: Go Mod run: make check/go/mod - name: Test @@ -46,7 +46,7 @@ jobs: - name: Install Go uses: actions/setup-go@v4 with: - go-version: 1.21.11 + go-version: 1.21.12 - name: Run linter run: make lint - name: Check helm manifests @@ -96,7 +96,7 @@ jobs: - name: Set up go uses: actions/setup-go@v2 with: - go-version: 1.21.11 + go-version: 1.21.12 - uses: actions/setup-node@v3 with: node-version: lts/hydrogen @@ -118,7 +118,7 @@ jobs: - name: Set up go uses: actions/setup-go@v2 with: - go-version: 1.21.11 + go-version: 1.21.12 - uses: actions/setup-node@v3 with: node-version: lts/hydrogen diff --git a/.github/workflows/test_ebpf.yml b/.github/workflows/test_ebpf.yml index 33e4314b1f..4ec2f5a408 100644 --- a/.github/workflows/test_ebpf.yml +++ b/.github/workflows/test_ebpf.yml @@ -27,7 +27,7 @@ jobs: - name: Install Go uses: actions/setup-go@v4 with: - go-version: 1.21.11 + go-version: 1.21.12 - name: Test run: sudo make -C ./ebpf go/test/amd64 test_ebpf_qemu: @@ -82,7 +82,7 @@ jobs: - name: Install Go uses: actions/setup-go@v4 with: - go-version: 1.21.11 + go-version: 1.21.12 - name: Install qemu run: sudo apt-get update && sudo apt-get -y install qemu-system-x86 qemu-system-aarch64 - name: Build tests diff --git a/.github/workflows/weekly-release.yml b/.github/workflows/weekly-release.yml index 7855a042f9..3904338833 100644 --- a/.github/workflows/weekly-release.yml +++ b/.github/workflows/weekly-release.yml @@ -27,7 +27,7 @@ jobs: git tag "$WEEKLY_IMAGE_TAG" - uses: actions/setup-go@v3 with: - go-version: "1.21.11" + go-version: "1.21.12" cache: true # setup docker buildx - name: Set up QEMU diff --git a/.goreleaser.yaml b/.goreleaser.yaml index fe1ce11109..ae9de709df 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -3,7 +3,7 @@ version: 2 before: hooks: # This hook ensures that goreleaser uses the correct go version for a Pyroscope release - - sh -euc 'go version | grep "go version go1.21.11 " || { echo "Unexpected go version"; exit 1; }' + - sh -euc 'go version | grep "go version go1.21.12 " || { echo "Unexpected go version"; exit 1; }' env: # Strip debug information from the binary by default, weekly builds will have debug information - GORELEASER_DEBUG_INFO_FLAGS={{ if and (index .Env "GORELEASER_STRIP_DEBUG_INFO") (eq .Env.GORELEASER_STRIP_DEBUG_INFO "false") }}{{ else }}-s -w{{ end }} diff --git a/examples/golang-pgo/Dockerfile b/examples/golang-pgo/Dockerfile index eee781ecdb..1d9ef01822 100644 --- a/examples/golang-pgo/Dockerfile +++ b/examples/golang-pgo/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.21.11 +FROM golang:1.21.12 WORKDIR /go/src/app COPY . . diff --git a/examples/language-sdk-instrumentation/golang-push/rideshare/Dockerfile b/examples/language-sdk-instrumentation/golang-push/rideshare/Dockerfile index 0a2c268f65..76557d6168 100644 --- a/examples/language-sdk-instrumentation/golang-push/rideshare/Dockerfile +++ b/examples/language-sdk-instrumentation/golang-push/rideshare/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.21.11 +FROM golang:1.21.12 WORKDIR /go/src/app COPY . . diff --git a/examples/language-sdk-instrumentation/golang-push/rideshare/Dockerfile.load-generator b/examples/language-sdk-instrumentation/golang-push/rideshare/Dockerfile.load-generator index dcefa4b969..73c2397d08 100644 --- a/examples/language-sdk-instrumentation/golang-push/rideshare/Dockerfile.load-generator +++ b/examples/language-sdk-instrumentation/golang-push/rideshare/Dockerfile.load-generator @@ -1,4 +1,4 @@ -FROM golang:1.21.11 +FROM golang:1.21.12 WORKDIR /go/src/app COPY . . diff --git a/examples/language-sdk-instrumentation/golang-push/simple/Dockerfile b/examples/language-sdk-instrumentation/golang-push/simple/Dockerfile index 066da7fcbd..7073c0e0eb 100644 --- a/examples/language-sdk-instrumentation/golang-push/simple/Dockerfile +++ b/examples/language-sdk-instrumentation/golang-push/simple/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.21.11 +FROM golang:1.21.12 WORKDIR /go/src/app