[#132] Update Go version to 1.22
Some checks failed
/ DCO (pull_request) Failing after 30s
/ Builds (1.22) (pull_request) Successful in 1m18s
/ Builds (1.23) (pull_request) Failing after 33s
/ Vulncheck (pull_request) Successful in 1m13s
/ Lint (pull_request) Failing after 1m28s
/ Tests (1.22) (pull_request) Successful in 1m26s
/ Tests (1.23) (pull_request) Successful in 1m27s

Signed-off-by: Nikita Zinkevich <n.zinkevich@yadro.com>
This commit is contained in:
Nikita Zinkevich 2024-08-23 13:19:08 +03:00
parent fcf99d9a59
commit 0e26aaf647
5 changed files with 7 additions and 6 deletions

View file

@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go_versions: [ '1.21', '1.22' ]
go_versions: [ '1.22', '1.23' ]
fail-fast: false
steps:
- uses: actions/checkout@v3

View file

@ -12,7 +12,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: '1.21'
go-version: '1.23'
- name: Run commit format checker
uses: https://git.frostfs.info/TrueCloudLab/dco-go@v3

View file

@ -10,7 +10,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.22'
go-version: '1.23'
cache: true
- name: Install linters
@ -24,7 +24,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go_versions: [ '1.21', '1.22' ]
go_versions: [ '1.22', '1.23' ]
fail-fast: false
steps:
- uses: actions/checkout@v3
@ -38,4 +38,4 @@ jobs:
run: make dep
- name: Run tests
run: make test
run: make test

View file

@ -19,6 +19,7 @@ This document outlines major changes between releases.
- Improve test coverage (#112, #117)
- Bumped vulnerable dependencies (#115)
- Replace extended ACL examples with policies in README (#118)
- Update go version to 1.22 (#132)
### Removed

2
go.mod
View file

@ -1,6 +1,6 @@
module git.frostfs.info/TrueCloudLab/frostfs-http-gw
go 1.21
go 1.22
require (
git.frostfs.info/TrueCloudLab/frostfs-api-go/v2 v2.16.1-0.20240716113920-f517e3949164