From a47bf149d824aede7303b290f756267ca0ed49c7 Mon Sep 17 00:00:00 2001 From: Ekaterina Lebedeva Date: Fri, 23 Aug 2024 15:57:03 +0300 Subject: [PATCH] [#161] go.mod: Bump go version to 1.22 Signed-off-by: Ekaterina Lebedeva --- .forgejo/workflows/dco.yml | 2 +- .forgejo/workflows/tests.yml | 6 +++--- Makefile | 4 ++-- go.mod | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.forgejo/workflows/dco.yml b/.forgejo/workflows/dco.yml index 6746408..2ce4333 100644 --- a/.forgejo/workflows/dco.yml +++ b/.forgejo/workflows/dco.yml @@ -13,7 +13,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v3 with: - go-version: '1.21' + go-version: '1.22' - name: Run commit format checker uses: https://git.frostfs.info/TrueCloudLab/dco-go@v2 diff --git a/.forgejo/workflows/tests.yml b/.forgejo/workflows/tests.yml index 621cce7..e47f3f3 100644 --- a/.forgejo/workflows/tests.yml +++ b/.forgejo/workflows/tests.yml @@ -11,7 +11,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: '1.22' + go-version: '1.23' cache: true - name: golangci-lint @@ -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 @@ -47,7 +47,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: '1.21' + go-version: '1.22' cache: true - name: Run tests diff --git a/Makefile b/Makefile index 3d92164..f1e76cb 100644 --- a/Makefile +++ b/Makefile @@ -3,8 +3,8 @@ # Common variables REPO ?= $(shell go list -m) VERSION ?= $(shell git describe --tags --dirty --match "v*" --always --abbrev=8 2>/dev/null || cat VERSION 2>/dev/null || echo "develop") -GO_VERSION ?= 1.19 -LINT_VERSION ?= 1.49.0 +GO_VERSION ?= 1.22 +LINT_VERSION ?= 1.60.1 BINDIR = bin # Binaries to build diff --git a/go.mod b/go.mod index d4043a8..471962d 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module git.frostfs.info/TrueCloudLab/xk6-frostfs -go 1.21 +go 1.22 require ( git.frostfs.info/TrueCloudLab/frostfs-node v0.38.3-0.20240502170333-ec2873caa7c6