Skip to content

Commit

Permalink
Update golang version to 1.21.12 (#3424)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonswine authored Jul 31, 2024
1 parent 35c25b4 commit 02f2ded
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 17 deletions.
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

0 comments on commit 02f2ded

Please sign in to comment.