From 0bc90947b7fb36d9b71083329040ff9775d47fdf Mon Sep 17 00:00:00 2001 From: Christian Simon Date: Fri, 21 Jun 2024 10:37:41 +0100 Subject: [PATCH] Update golang version to 1.21.11 (#3365) (#3374) (cherry picked from commit fd207b19b46dfe03a0466a8238639958bfa8eeab) --- .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 6bf4c735c2..08a8535b30 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.10" + go-version: "1.21.11" 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.10" + go-version: "1.21.11" cache: true - run: yarn --frozen-lockfile - run: make build diff --git a/.github/workflows/fuzzer.yml b/.github/workflows/fuzzer.yml index d55bd69fd0..5fbf6012f5 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.10 + go-version: 1.21.11 - 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 4566ae30b1..80b53e16ff 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.10" + go-version: "1.21.11" cache: true - uses: actions/setup-node@v3 with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ad0961c1d3..31fda45447 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.10 + go-version: 1.21.11 - 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.10 + go-version: 1.21.11 - 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.10 + go-version: 1.21.11 - 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.10 + go-version: 1.21.11 - 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.10 + go-version: 1.21.11 - 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 41f2d53ff1..33e4314b1f 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.10 + go-version: 1.21.11 - 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.10 + go-version: 1.21.11 - 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 16c3e4c9c9..6f16da4fae 100644 --- a/.github/workflows/weekly-release.yml +++ b/.github/workflows/weekly-release.yml @@ -25,7 +25,7 @@ jobs: git tag "$WEEKLY_IMAGE_TAG" - uses: actions/setup-go@v3 with: - go-version: "1.21.10" + go-version: "1.21.11" cache: true # setup docker buildx - name: Set up QEMU diff --git a/.goreleaser.yaml b/.goreleaser.yaml index d0d52babc8..01073983c3 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -2,7 +2,7 @@ project_name: pyroscope 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.10 " || { echo "Unexpected go version"; exit 1; }" + - sh -euc "go version | grep "go version go1.21.11 " || { echo "Unexpected go version"; exit 1; }" builds: - env: - CGO_ENABLED=0 diff --git a/examples/golang-pgo/Dockerfile b/examples/golang-pgo/Dockerfile index 123889c51b..eee781ecdb 100644 --- a/examples/golang-pgo/Dockerfile +++ b/examples/golang-pgo/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.21.10 +FROM golang:1.21.11 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 f30447a7f9..0a2c268f65 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.10 +FROM golang:1.21.11 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 5e7ae449d8..dcefa4b969 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.10 +FROM golang:1.21.11 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 1ad056a58a..066da7fcbd 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.10 +FROM golang:1.21.11 WORKDIR /go/src/app