Skip to content

Commit 780c572

Browse files
authored
feat: bump go to 1.23 (#142)
* feat: bump go to 1.23 * fix: ci config
1 parent cea9058 commit 780c572

File tree

8 files changed

+14
-15
lines changed

8 files changed

+14
-15
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
matrix:
3535
language: [ 'go' ]
3636
os: [ 'ubuntu-22.04' ]
37-
go-version: [1.22.x]
37+
go-version: [1.23.x]
3838
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
3939
# Learn more about CodeQL language support at https://git.io/codeql-language-support
4040

.github/workflows/go.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
max-parallel: 3
4242
matrix:
4343
os: [ 'ubuntu-22.04' ]
44-
go-version: [1.22.x]
44+
go-version: [1.23.x]
4545
runs-on: ${{ matrix.os }}
4646
name: Build
4747
steps:
@@ -73,7 +73,7 @@ jobs:
7373
${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/tools/go.sum') }}
7474
7575
- name: Install GoReleaser
76-
uses: goreleaser/goreleaser-action@v5
76+
uses: goreleaser/goreleaser-action@v6
7777
with:
7878
install-only: true
7979

@@ -88,7 +88,7 @@ jobs:
8888
max-parallel: 2
8989
matrix:
9090
os: [ 'ubuntu-22.04' ]
91-
go-version: [1.22.x]
91+
go-version: [1.23.x]
9292
runs-on: ${{ matrix.os }}
9393
name: Run Tests
9494
steps:
@@ -135,7 +135,7 @@ jobs:
135135
max-parallel: 2
136136
matrix:
137137
os: [ 'ubuntu-22.04' ]
138-
go-version: [1.22.x]
138+
go-version: [1.23.x]
139139
runs-on: ${{ matrix.os }}
140140
name: Run linters
141141
steps:
@@ -187,7 +187,7 @@ jobs:
187187
max-parallel: 1
188188
matrix:
189189
os: [ 'ubuntu-22.04' ]
190-
go-version: [1.22.x]
190+
go-version: [1.23.x]
191191
runs-on: ${{ matrix.os }}
192192
name: Quality reports
193193
steps:

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
max-parallel: 1
1515
matrix:
1616
os: [ 'ubuntu-22.04' ]
17-
go-version: [1.22.x]
17+
go-version: [1.23.x]
1818
runs-on: ${{ matrix.os }}
1919
name: Release
2020
steps:
@@ -29,7 +29,7 @@ jobs:
2929
fetch-depth: 0
3030

3131
- name: Install GoReleaser
32-
uses: goreleaser/goreleaser-action@v5
32+
uses: goreleaser/goreleaser-action@v6
3333
with:
3434
install-only: true
3535

.goreleaser.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
version: 2
2+
13
release:
24
github:
35
owner: obalunenko
@@ -10,7 +12,7 @@ checksum:
1012
name_template: "{{ .ProjectName }}-{{ .Version }}-checksums.txt"
1113

1214
snapshot:
13-
name_template: SNAPSHOT-{{ .Commit }}
15+
version_template: SNAPSHOT-{{ .Commit }}
1416

1517
changelog:
1618
sort: asc

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,14 @@ VERSION ?= $(shell git describe --tags $(git rev-list --tags --max-count=1))
77
APP_NAME?=getenv
88
SHELL := env APP_NAME=$(APP_NAME) $(SHELL)
99

10-
GOTOOLS_IMAGE_TAG?=v0.12.3
1110
SHELL := env GOTOOLS_IMAGE_TAG=$(GOTOOLS_IMAGE_TAG) $(SHELL)
1211

1312
COMPOSE_TOOLS_FILE=deployments/docker-compose/go-tools-docker-compose.yml
1413
COMPOSE_TOOLS_CMD_BASE=docker compose -f $(COMPOSE_TOOLS_FILE)
1514
COMPOSE_TOOLS_CMD_UP=$(COMPOSE_TOOLS_CMD_BASE) up --exit-code-from
1615
COMPOSE_TOOLS_CMD_PULL=$(COMPOSE_TOOLS_CMD_BASE) pull
1716

18-
GOVERSION:=1.22
17+
GOVERSION:=1.23
1918

2019
TARGET_MAX_CHAR_NUM=20
2120

build/docker/go-tools/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
FROM ghcr.io/obalunenko/go-tools:v1.4.4 AS builder
1+
FROM ghcr.io/obalunenko/go-tools:v1.5.1 AS builder
22

33
CMD ["/bin/sh", "-c", ""]

deployments/docker-compose/go-tools-docker-compose.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
version: '3'
2-
31
services:
42
tools:
53
build:

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/obalunenko/getenv
22

3-
go 1.22
3+
go 1.23
44

55
require (
66
github.com/stretchr/testify v1.9.0

0 commit comments

Comments
 (0)