From b86389a39eb89f7e62050d3c90551ba029759389 Mon Sep 17 00:00:00 2001 From: Sergey Date: Tue, 30 Apr 2024 02:08:26 +0300 Subject: [PATCH 1/3] chore: fix CI --- go.mod | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/go.mod b/go.mod index f5e67d4..90c3f99 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,6 @@ module main -go 1.21.4 - -toolchain go1.22.1 +go 1.21 require ( github.com/BurntSushi/toml v1.1.0 From fa98aaba5044e58ef1df4bcdc27381a1eccc6fa2 Mon Sep 17 00:00:00 2001 From: Sergey Date: Tue, 30 Apr 2024 02:08:59 +0300 Subject: [PATCH 2/3] chore: update Go version --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 0f57c30..8073a74 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -23,7 +23,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.18 + go-version: 1.21 - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 From 47a9bd0b29f7b72b2d8772c40588612902ee727a Mon Sep 17 00:00:00 2001 From: Sergey Date: Tue, 30 Apr 2024 02:11:28 +0300 Subject: [PATCH 3/3] chore: fix again --- .github/workflows/actions.yaml | 4 ++-- go.mod | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/actions.yaml b/.github/workflows/actions.yaml index cf4eac7..cd3897a 100644 --- a/.github/workflows/actions.yaml +++ b/.github/workflows/actions.yaml @@ -7,7 +7,7 @@ jobs: - uses: actions/checkout@master - uses: actions/setup-go@v2 with: - go-version: '^1.18.0' + go-version: '^1.21.0' - run: go version - run: go mod download - run: go build ./cmd/cosmos-validators-exporter.go @@ -17,7 +17,7 @@ jobs: - uses: actions/checkout@master - uses: actions/setup-go@v2 with: - go-version: '^1.18.0' + go-version: '^1.21.0' - run: go version - run: go mod download - run: go vet ./... diff --git a/go.mod b/go.mod index 90c3f99..f5e67d4 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,8 @@ module main -go 1.21 +go 1.21.4 + +toolchain go1.22.1 require ( github.com/BurntSushi/toml v1.1.0