From a88559489674e9704e44d16556c65831c8f6af04 Mon Sep 17 00:00:00 2001 From: secwall Date: Wed, 7 Feb 2024 11:03:31 +0100 Subject: [PATCH] Move to go 1.22 --- .github/workflows/func-tests.yml | 2 +- .github/workflows/golangci-lint.yml | 2 +- .github/workflows/jepsen-cluster-tests.yml | 2 +- .github/workflows/jepsen-sentinel-tests.yml | 2 +- .github/workflows/unit-tests.yml | 2 +- README.md | 2 +- go.mod | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/func-tests.yml b/.github/workflows/func-tests.yml index aac7ce6..3a1e445 100644 --- a/.github/workflows/func-tests.yml +++ b/.github/workflows/func-tests.yml @@ -9,7 +9,7 @@ on: - cron: '30 06 * * *' env: - GO_VERSION: 1.21.6 + GO_VERSION: 1.22.0 DOCKER_API_VERSION: 1.43 jobs: diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 70c41b9..bd58d6f 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -7,7 +7,7 @@ on: branches: [ master ] env: - GO_VERSION: 1.21.6 + GO_VERSION: 1.22.0 permissions: contents: read diff --git a/.github/workflows/jepsen-cluster-tests.yml b/.github/workflows/jepsen-cluster-tests.yml index f147870..c8ccebe 100644 --- a/.github/workflows/jepsen-cluster-tests.yml +++ b/.github/workflows/jepsen-cluster-tests.yml @@ -5,7 +5,7 @@ on: - cron: '30 06 * * *' env: - GO_VERSION: 1.21.6 + GO_VERSION: 1.22.0 jobs: test: diff --git a/.github/workflows/jepsen-sentinel-tests.yml b/.github/workflows/jepsen-sentinel-tests.yml index c352d8b..287095a 100644 --- a/.github/workflows/jepsen-sentinel-tests.yml +++ b/.github/workflows/jepsen-sentinel-tests.yml @@ -5,7 +5,7 @@ on: - cron: '30 06 * * *' env: - GO_VERSION: 1.21.6 + GO_VERSION: 1.22.0 jobs: test: diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index f038847..0bb9d82 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -8,7 +8,7 @@ on: branches: [ master ] env: - GO_VERSION: 1.21.6 + GO_VERSION: 1.22.0 jobs: unittest: diff --git a/README.md b/README.md index 74c3340..547044f 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ It uses a patched redis version to make a cluster or sentinel-like setup less pr ## Try it out -* You will need a linux vm with gnu make, docker, docker-compose and go >1.21 installed. +* You will need a linux vm with gnu make, docker, docker-compose and go >1.22 installed. * Use `make start_sentinel_env` to start an environment with senticache * Or `make start_cluster_env` to start an environment with single shard of clustered setup * Run `make clean` to drop containers and network diff --git a/go.mod b/go.mod index ff448e1..03c5b5f 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/yandex/rdsync -go 1.21 +go 1.22 require ( github.com/cenkalti/backoff/v4 v4.2.1