From 11a3cf398c3f4debe859ed7b07cf8c7b43bf3697 Mon Sep 17 00:00:00 2001 From: Anna Shaleva Date: Wed, 11 Oct 2023 12:25:37 +0300 Subject: [PATCH 1/2] *: bump minimum required go version to 1.19 Signed-off-by: Anna Shaleva --- .github/workflows/go.yml | 2 +- go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index caf2eeff..dfbfac5d 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go: [ '1.18', '1.19', '1.20'] + go: [ '1.19', '1.20', '1.21'] steps: - name: Setup go diff --git a/go.mod b/go.mod index d7f109e9..3aad8e91 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/nspcc-dev/dbft -go 1.18 +go 1.19 require ( github.com/nspcc-dev/neo-go v0.73.1-pre.0.20200303142215-f5a1b928ce09 From e9418bcd4365fff813d9bec1cae31ae5d1a974d6 Mon Sep 17 00:00:00 2001 From: Anna Shaleva Date: Wed, 11 Oct 2023 12:26:41 +0300 Subject: [PATCH 2/2] .github: use minimum required go version for Lint job To avoid warnings related to the latest Go versions. Signed-off-by: Anna Shaleva --- .github/workflows/go.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index dfbfac5d..2b506eb0 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -8,7 +8,7 @@ jobs: steps: - uses: actions/setup-go@v4 with: - go-version: '1.20' + go-version: '1.19' - uses: actions/checkout@v3 - name: golangci-lint uses: golangci/golangci-lint-action@v3