Skip to content

Commit

Permalink
go.mod: Bump min required Go to 1.23
Browse files Browse the repository at this point in the history
Update GitHub workflows and Docker builders too.

Refs #2918.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
  • Loading branch information
cthulhu-rider committed Mar 7, 2025
1 parent 5a9e733 commit f95feb3
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .docker/Dockerfile.adm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.23 AS builder
FROM golang:1.24 AS builder
ARG BUILD=now
ARG VERSION=dev
ARG REPO=repository
Expand Down
2 changes: 1 addition & 1 deletion .docker/Dockerfile.cli
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.23 AS builder
FROM golang:1.24 AS builder
ARG BUILD=now
ARG VERSION=dev
ARG REPO=repository
Expand Down
2 changes: 1 addition & 1 deletion .docker/Dockerfile.ir
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.23 AS builder
FROM golang:1.24 AS builder
ARG BUILD=now
ARG VERSION=dev
ARG REPO=repository
Expand Down
2 changes: 1 addition & 1 deletion .docker/Dockerfile.storage
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.23 AS builder
FROM golang:1.24 AS builder
ARG BUILD=now
ARG VERSION=dev
ARG REPO=repository
Expand Down
2 changes: 1 addition & 1 deletion .docker/Dockerfile.storage-testnet
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.23 AS builder
FROM golang:1.24 AS builder
ARG BUILD=now
ARG VERSION=dev
ARG REPO=repository
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
go-version: '1.24'
cache: true

- name: Build
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: actions/setup-go@v5
with:
cache: true
go-version: '1.23'
go-version: '1.24'

- name: Check out code
uses: actions/checkout@v4
Expand All @@ -46,14 +46,14 @@ jobs:
strategy:
matrix:
os: [ubuntu-22.04, macos-14]
go: [ '1.22', '1.23' ]
go: [ '1.23', '1.24' ]
exclude:
# Only the latest Go version MacOS.
- os: macos-14
go: '1.22'
go: '1.23'
# Exclude the latest Go version for Ubuntu as Coverage uses it.
- os: ubuntu-22.04
go: '1.23'
go: '1.24'

steps:
- name: Setup go
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Changelog for NeoFS Node
### Removed

### Updated
- Minimum required version of Go to 1.23 (#2918)

### Updating from v0.45.1

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ VERSION ?= $(shell set -o pipefail; git describe --tags --dirty --match "v*" --a
HUB_IMAGE ?= nspccdev/neofs
HUB_TAG ?= $(VERSION)

GO_VERSION ?= 1.22
GO_VERSION ?= 1.23
LINT_VERSION ?= 1.55.0
ARCH = amd64

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ The latest version of neofs-node works with neofs-contract

# Building

To make all binaries you need Go 1.22+ and `make`:
To make all binaries you need Go 1.23+ and `make`:
```
make all
```
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/nspcc-dev/neofs-node

go 1.22
go 1.23

require (
github.com/cenkalti/backoff/v4 v4.2.1
Expand Down

0 comments on commit f95feb3

Please sign in to comment.