Skip to content

Commit

Permalink
bump required go version to 1.23 (#514)
Browse files Browse the repository at this point in the history
* bump required go version to 1.23

* use go 1.23 in circleci
  • Loading branch information
DnlLrssn authored Nov 5, 2024
1 parent 4bd8967 commit 7c2d6f9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
build:
<<: *defaults
docker:
- image: cimg/go:1.21
- image: cimg/go:1.23
steps:
- checkout
- setup_remote_docker
Expand All @@ -20,7 +20,7 @@ jobs:
set -x
mkdir -p build
- restore_cache:
key: dependency-cache-1.21{{ checksum "go.sum" }}
key: dependency-cache-1.23{{ checksum "go.sum" }}
- run:
name: Run Golang tests
command: |
Expand All @@ -34,7 +34,7 @@ jobs:
command: |
make build
- save_cache:
key: dependency-cache-1.21{{ checksum "go.sum" }}
key: dependency-cache-1.23{{ checksum "go.sum" }}
paths:
- "/home/circleci/go/pkg/mod"
- run:
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
parameters:
version:
type: string
default: "1.21"
default: "1.23"
docker:
- image: cimg/go:<< parameters.version >>
steps:
Expand Down Expand Up @@ -136,7 +136,7 @@ jobs:
build-publish-docker:
<<: *defaults
docker:
- image: cimg/go:1.21
- image: cimg/go:1.23
steps:
- attach_workspace:
at: /home/circleci/go/src/github.com/qlik-oss/gopherciser/
Expand Down Expand Up @@ -183,9 +183,9 @@ workflows:
filters:
tags:
only: /^v[0-9]+\.[0-9]+\.[0-9]+/
- test-go-version:
name: "Test Go 1.22"
version: "1.22"
# - test-go-version:
# name: "Test Go 1.22"
# version: "1.22"
- publish-github:
requires:
- 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/qlik-oss/gopherciser

go 1.21
go 1.23

require (
github.com/InVisionApp/tabular v0.3.0
Expand Down

0 comments on commit 7c2d6f9

Please sign in to comment.