Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update golang version to 1.21.12 #3424

Merged
merged 1 commit into from
Jul 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fuzzer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_ebpf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/weekly-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion examples/golang-pgo/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.21.11
FROM golang:1.21.12

WORKDIR /go/src/app
COPY . .
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.21.11
FROM golang:1.21.12

WORKDIR /go/src/app
COPY . .
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.21.11
FROM golang:1.21.12

WORKDIR /go/src/app
COPY . .
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.21.11
FROM golang:1.21.12

WORKDIR /go/src/app

Expand Down
Loading