Skip to content

Commit

Permalink
*: Upgrade to Go 1.22
Browse files Browse the repository at this point in the history
Closes #136.

Signed-off-by: Evgenii Baidakov <[email protected]>
  • Loading branch information
smallhive committed Aug 20, 2024
1 parent c53e137 commit 935a38d
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
uses: actions/setup-go@v5
with:
cache: true
go-version: '1.22'
go-version: '1.23'

- name: Check version
run: if [[ $(make version) == *"dirty"* ]]; then exit 1; fi
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/system-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
uses: actions/setup-go@v5
with:
cache: true
go-version: '1.22'
go-version: '1.23'
- run: go version

- name: Set up Python
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
uses: actions/setup-go@v5
with:
cache: true
go-version: '1.22'
go-version: '1.23'

- name: Test and write coverage profile
run: make cover
Expand All @@ -59,7 +59,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
go_versions: [ '1.21', '1.22' ] # The latest is used by Coverage already.
go_versions: [ '1.22', '1.23' ] # The latest is used by Coverage already.
fail-fast: false
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This document outlines major changes between releases.
## [Unreleased]

### Changed
- Go 1.21+ is required to build now (#98)
- Go 1.22+ is required to build now (#98, #136)

### Updated
- github.com/nspcc-dev/neo-go dependency from v0.106.0 to v0.106.3 (#98)
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.22 as basebuilder
FROM golang:1.23 as basebuilder

RUN set -x \
&& apt-get update \
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-rest-gw

go 1.21
go 1.22

require (
github.com/getkin/kin-openapi v0.127.0
Expand Down

0 comments on commit 935a38d

Please sign in to comment.