Skip to content

Commit de92512

Browse files
authoredAug 15, 2024··
Jackgopack4/go1.23 ci fix (#641)
1 parent 4c7310f commit de92512

File tree

9 files changed

+14
-7
lines changed

9 files changed

+14
-7
lines changed
 

‎.github/workflows/base-ci-goreleaser.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
- name: Setup Go
5858
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
5959
with:
60-
go-version: '1.22'
60+
go-version: '1.23'
6161
check-latest: true
6262

6363
- name: Generate the sources

‎.github/workflows/base-release.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151

5252
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
5353
with:
54-
go-version: '1.22'
54+
go-version: '1.23'
5555
check-latest: true
5656

5757
- name: Setup wixl # Required to build MSI packages for Windows
@@ -126,7 +126,7 @@ jobs:
126126

127127
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
128128
with:
129-
go-version: '1.22'
129+
go-version: '1.23'
130130
check-latest: true
131131

132132
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8

‎.github/workflows/builder-release.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Setup Go
3131
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
3232
with:
33-
go-version: ~1.21.5
33+
go-version: ~1.23
3434
- name: Run GoReleaser
3535
uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0
3636
with:

‎.github/workflows/builder-testbuild.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Setup Go
4040
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
4141
with:
42-
go-version: ~1.21.5
42+
go-version: ~1.23
4343
- name: Check GoReleaser
4444
uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0
4545
with:

‎.github/workflows/ci.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Setup Go
2020
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
2121
with:
22-
go-version: '1.22'
22+
go-version: '1.23'
2323
check-latest: true
2424

2525
- name: Verify

‎cmd/goreleaser/internal/configure.go

+3
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ func Generate(dist string) config.Project {
5252
DockerSigns: DockerSigns(),
5353
SBOMs: SBOM(),
5454
Version: 2,
55+
Monorepo: config.Monorepo{
56+
TagPrefix: "v",
57+
},
5558
}
5659
}
5760

‎distributions/otelcol-contrib/.goreleaser.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -261,3 +261,5 @@ sboms:
261261
artifacts: archive
262262
- id: package
263263
artifacts: package
264+
monorepo:
265+
tag_prefix: v

‎distributions/otelcol/.goreleaser.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -261,3 +261,5 @@ sboms:
261261
artifacts: archive
262262
- id: package
263263
artifacts: package
264+
monorepo:
265+
tag_prefix: v

‎go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/open-telemetry/opentelemetry-collector-releases
22

3-
go 1.22
3+
go 1.23
44

55
require (
66
github.com/goreleaser/goreleaser-pro/v2 v2.1.0-pro

0 commit comments

Comments
 (0)
Please sign in to comment.