Skip to content

Commit ad8afed

Browse files
committed
Pin Go to 1.20.7 due to golang/go#62130
1 parent 4f99e3c commit ad8afed

File tree

8 files changed

+18
-11
lines changed

8 files changed

+18
-11
lines changed

.github/workflows/merge-to-master.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@ jobs:
1111
runs-on: ubuntu-20.04
1212

1313
steps:
14-
- name: Set up Go ^1.20.5
15-
uses: actions/setup-go@v2
14+
# We can't go past 1.20.7 until this issue is solved: https://github.com/golang/go/issues/62130#issuecomment-1687335898
15+
- name: Set up Go 1.20.7
16+
uses: actions/setup-go@v4
1617
with:
17-
go-version: ^1.20.5
18+
go-version: '1.20.7'
1819

1920
- name: Check go version
2021
run: go version

.github/workflows/pr.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@ jobs:
88
runs-on: ubuntu-20.04
99

1010
steps:
11-
- name: Set up Go ^1.20.5
12-
uses: actions/setup-go@v2
11+
# We can't go past 1.20.7 until this issue is solved: https://github.com/golang/go/issues/62130#issuecomment-1687335898
12+
- name: Set up Go 1.20.7
13+
uses: actions/setup-go@v4
1314
with:
14-
go-version: ^1.20.5
15+
go-version: '1.20.7'
1516
id: go
1617

1718
- name: Check go version

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM golang:1.20.5-buster AS builder
1+
# We can't go past 1.20.7 until this issue is solved: https://github.com/golang/go/issues/62130#issuecomment-1687335898
2+
FROM golang:1.20.7-buster AS builder
23

34
WORKDIR /go/src/github.com/newrelic/newrelic-fluent-bit-output
45

Dockerfile.windows

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ RUN setx PATH "%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
2828

2929
# Install Base Dependencies
3030
RUN choco install --yes --no-progress mingw git
31-
RUN choco install --yes --no-progress golang --version=1.20.5
31+
# We can't go past 1.20.7 until this issue is solved: https://github.com/golang/go/issues/62130#issuecomment-1687335898
32+
RUN choco install --yes --no-progress golang --version=1.20.7
3233

3334
# Put the path before the other paths so that MinGW shadows Windows commands.
3435
RUN setx PATH "C:\ProgramData\chocolatey\lib\mingw\tools\install\mingw\bin;%PATH%"

Dockerfile_debug

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM golang:1.20.5-buster AS builder
1+
# We can't go past 1.20.7 until this issue is solved: https://github.com/golang/go/issues/62130#issuecomment-1687335898
2+
FROM golang:1.20.7-buster AS builder
23

34
WORKDIR /go/src/github.com/newrelic/newrelic-fluent-bit-output
45

Dockerfile_firelens

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM golang:1.20.5-buster AS builder
1+
# We can't go past 1.20.7 until this issue is solved: https://github.com/golang/go/issues/62130#issuecomment-1687335898
2+
FROM golang:1.20.7-buster AS builder
23

34
WORKDIR /go/src/github.com/newrelic/newrelic-fluent-bit-output
45

go.mod

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
module github.com/newrelic/newrelic-fluent-bit-output
22

3+
// We can't go past 1.20.7 until this issue is solved: https://github.com/golang/go/issues/62130#issuecomment-1687335898
34
go 1.20
45

56
require (

version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
package main
22

3-
const VERSION = "1.19.0"
3+
const VERSION = "1.19.1"

0 commit comments

Comments
 (0)