Skip to content

Commit

Permalink
Bump Go version to 1.21.2 (#365)
Browse files Browse the repository at this point in the history
* Bump Go version to 1.21.2

* Bump Go version in e2e tests

* Update Path offset
  • Loading branch information
RonFed authored Oct 9, 2023
1 parent aac7b39 commit ffb86fe
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
pull_request:

env:
GO_VERSION: "~1.21.1"
GO_VERSION: "~1.21.2"

jobs:
generate-and-test:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
compatibility-test:
strategy:
matrix:
go-version: ["~1.21.1", "~1.20.8"]
go-version: ["~1.21.2", "~1.20.8"]
os: [ubuntu-latest]
# GitHub Actions does not support arm* architectures on default
# runners. It is possible to accomplish this with a self-hosted runner
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-dependabot-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: "~1.21.1"
go-version: "~1.21.2"
check-latest: true

- name: Run dependabot-pr.sh
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/kind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: "~1.21.1"
go-version: "~1.21.2"
check-latest: true
- name: Setup BATS
uses: mig4/setup-bats@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/offsets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: "1.21"
go-version: "1.21.2"
cache-dependency-path: "**/go.sum"

- name: Update offsets
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ offsets: | $(OFFSETS)

.PHONY: docker-offsets
docker-offsets:
docker run --rm -v $(shell pwd):/app golang:1.21 /bin/sh -c "cd ../app && make offsets"
docker run --rm -v $(shell pwd):/app golang:1.21.2 /bin/sh -c "cd ../app && make offsets"

.PHONY: update-licenses
update-licenses: generate $(GOLICENSES)
Expand Down
2 changes: 1 addition & 1 deletion examples/httpPlusdb/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.21
FROM golang:1.21.2
WORKDIR /app
COPY . .
RUN go build -o main
Expand Down
2 changes: 1 addition & 1 deletion examples/rolldice/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.21
FROM golang:1.21.2
WORKDIR /app
COPY . .
RUN go build -o main
Expand Down
2 changes: 1 addition & 1 deletion internal/pkg/inject/offset_results.json
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@
{
"versions": {
"oldest": "1.12.0",
"newest": "1.21.1"
"newest": "1.21.2"
},
"offsets": [
{
Expand Down
2 changes: 1 addition & 1 deletion internal/test/e2e/databasesql/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.21
FROM golang:1.21.2
WORKDIR /sample-app
COPY . .
RUN go mod init go.opentelemetry.io/auto/internal/test/e2e/databasesql && go mod tidy && go build -o main
2 changes: 1 addition & 1 deletion internal/test/e2e/gin/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.21
FROM golang:1.21.2
WORKDIR /sample-app
COPY . .
RUN go mod init go.opentelemetry.io/auto/internal/test/e2e/gin && go mod tidy && go build -o main
2 changes: 1 addition & 1 deletion internal/test/e2e/nethttp/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.21
FROM golang:1.21.2
WORKDIR /sample-app
COPY . .
RUN go mod init go.opentelemetry.io/auto/internal/test/e2e/nethttp && go mod tidy && go build -o main

0 comments on commit ffb86fe

Please sign in to comment.