Skip to content

Commit 584c566

Browse files
committed
use go 1.23
1 parent ce1ff97 commit 584c566

File tree

9 files changed

+12
-12
lines changed

9 files changed

+12
-12
lines changed

.github/workflows/features.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
feature-tests:
2929
runs-on: ubuntu-latest
3030
container:
31-
image: registry.suse.com/bci/golang:1.21-openssl
31+
image: registry.suse.com/bci/golang:1.23-openssl
3232
options: --user root --privileged
3333

3434
steps:

.github/workflows/lint-unit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
unit-tests:
2424
runs-on: ubuntu-latest
2525
container:
26-
image: registry.suse.com/bci/golang:1.21-openssl
26+
image: registry.suse.com/bci/golang:1.23-openssl
2727

2828
steps:
2929
- uses: actions/checkout@v4

.go-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.21
1+
1.23

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ GOFLAGS = -v -mod=vendor
88
BINFLAGS = -buildmode=pie
99
SOFLAGS = -buildmode=c-shared
1010

11-
CONTAINER = registry.suse.com/bci/golang:1.21-openssl
11+
CONTAINER = registry.suse.com/bci/golang:1.23-openssl
1212
CRM = docker run --rm -it --privileged
1313
ENVFILE = .env
1414
WORKDIR = /usr/src/connect-ng

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@ Please visit https://scc.suse.com to see and manage your subscriptions.
1616
SUSEConnect-ng communicates with SCC over this [REST API](https://github.com/SUSE/connect/blob/master/doc/SCC-API-%28Implemented%29.md).
1717

1818
### Build
19-
Requires Go >= 1.21
19+
Requires Go >= 1.23
2020

2121
```
2222
make build
2323
```
2424
This will create a `out/suseconnect` binary.
2525

2626
### Build in container
27-
If you don't have a go compiler installed, you can run the build in a container:
27+
If you don't have a go compiler installed, you can run the build in a container:
2828
```
29-
docker run --rm -v $(pwd):/connect registry.suse.com/bci/golang:1.21-openssl sh -c "git config --global --add safe.directory /connect; cd /connect; make build"
29+
docker run --rm -v $(pwd):/connect registry.suse.com/bci/golang:1.23-openssl sh -c "git config --global --add safe.directory /connect; cd /connect; make build"
3030
```
3131
This will create a `out/suseconnect` binary on the host.
3232

build/ci/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ BETA_NOT_ACTIVATED_REGCODE=
4040
We use the official SUSE Golang container, providing all we need to run the tests:
4141

4242
```
43-
export IMAGE="registry.suse.com/bci/golang:1.21-openssl"
43+
export IMAGE="registry.suse.com/bci/golang:1.23-openssl"
4444
# Run the required container:
4545
$ docker run --rm -it --env-file .env -v $(pwd):/usr/src/connect-ng $IMAGE
4646

build/packaging/suseconnect-ng.spec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ Source1: %{name}-rpmlintrc
2929
Source2: vendor.tar.xz
3030

3131
# Build against latest golang in Tumbleweed and
32-
# go1.21-openssl on all other distributions
32+
# go1.23-openssl on all other distributions
3333
%if 0%{?suse_version} > 1600
3434
BuildRequires: golang(API)
3535
%else
36-
BuildRequires: go1.21-openssl
36+
BuildRequires: go1.23-openssl
3737
%endif
3838

3939
BuildRequires: ruby-devel

features/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ If you do not want to run a full RPM build process you can do the following:
1818
```
1919
# Make sure your .env is populated!
2020
$ cp .env-example .env
21-
$ docker run --rm --privileged --env-file .env -ti -v $(pwd):/connect registry.suse.com/bci/golang:1.21-openssl
21+
$ docker run --rm --privileged --env-file .env -ti -v $(pwd):/connect registry.suse.com/bci/golang:1.23-openssl
2222
> git config --global --add safe.directory /connect
2323
> cd /connect
2424
> make 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/SUSE/connect-ng
22

3-
go 1.21
3+
go 1.23
44

55
require (
66
github.com/google/uuid v1.6.0

0 commit comments

Comments
 (0)