Skip to content

Commit

Permalink
feat: Bump go to 1.23 (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
obalunenko committed Sep 5, 2024
1 parent c6c0dc3 commit 10b9998
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
# Learn more about CodeQL language support at https://git.io/codeql-language-support
language: [ 'go' ]
os: [ 'ubuntu-22.04' ]
go-version: [1.22.x]
go-version: [1.23.x]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
max-parallel: 3
matrix:
os: [ 'ubuntu-22.04' ]
go-version: [1.22.x]
go-version: [1.23.x]
runs-on: ${{ matrix.os }}
name: Build
steps:
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
max-parallel: 2
matrix:
os: [ 'ubuntu-22.04' ]
go-version: [1.22.x]
go-version: [1.23.x]
runs-on: ${{ matrix.os }}
name: Run Tests
steps:
Expand Down Expand Up @@ -137,7 +137,7 @@ jobs:
max-parallel: 2
matrix:
os: [ 'ubuntu-22.04' ]
go-version: [1.22.x]
go-version: [1.23.x]
runs-on: ${{ matrix.os }}
name: Run linters
steps:
Expand Down Expand Up @@ -189,7 +189,7 @@ jobs:
max-parallel: 1
matrix:
os: [ 'ubuntu-22.04' ]
go-version: [1.22.x]
go-version: [1.23.x]
runs-on: ${{ matrix.os }}
name: Quality reports
steps:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
max-parallel: 2
matrix:
os: [ 'ubuntu-22.04' ]
go-version: [1.22.x]
go-version: [1.23.x]
runs-on: ${{ matrix.os }}
name: Build
steps:
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
max-parallel: 2
matrix:
os: [ 'ubuntu-22.04' ]
go-version: [1.22.x]
go-version: [1.23.x]
runs-on: ${{ matrix.os }}
name: Regression tests
steps:
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
max-parallel: 1
matrix:
os: [ 'ubuntu-22.04' ]
go-version: [1.22.x]
go-version: [1.23.x]
runs-on: ${{ matrix.os }}
name: Lint
steps:
Expand Down Expand Up @@ -162,7 +162,7 @@ jobs:
max-parallel: 1
matrix:
os: [ 'ubuntu-22.04' ]
go-version: [1.22.x]
go-version: [1.23.x]
runs-on: ${{ matrix.os }}
name: Release
steps:
Expand Down
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ linters:
- dogsled
- dupl
- errcheck
- exportloopref
- copyloopvar
- exhaustive
- funlen
- gochecknoinits
Expand Down
4 changes: 3 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
version: 2

release:
github:
owner: obalunenko
Expand Down Expand Up @@ -79,7 +81,7 @@ checksum:
name_template: "{{ .ProjectName }}-{{ .Version }}-checksums.txt"

snapshot:
name_template: SNAPSHOT-{{ .Commit }}
version_template: SNAPSHOT-{{ .Commit }}

changelog:
sort: asc
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ COMPOSE_TOOLS_CMD_BASE=docker compose -f $(COMPOSE_TOOLS_FILE)
COMPOSE_TOOLS_CMD_UP=$(COMPOSE_TOOLS_CMD_BASE) up --remove-orphans --exit-code-from
COMPOSE_TOOLS_CMD_PULL=$(COMPOSE_TOOLS_CMD_BASE) build

GOVERSION:=1.22
GOVERSION:=1.23

TARGET_MAX_CHAR_NUM=20

Expand Down
2 changes: 1 addition & 1 deletion build/docker/go-tools/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM ghcr.io/obalunenko/go-tools:v1.4.4 AS builder
FROM ghcr.io/obalunenko/go-tools:v1.5.1 AS builder

CMD ["/bin/sh", "-c", ""]
2 changes: 0 additions & 2 deletions deployments/docker-compose/go-tools-docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3'

services:
tools:
build:
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/obalunenko/georgia-tax-calculator

go 1.22
go 1.23

require (
github.com/AlecAivazis/survey/v2 v2.3.7
Expand Down

0 comments on commit 10b9998

Please sign in to comment.