From 5d6145dafe829abb02903f8e173aa1c6f376a921 Mon Sep 17 00:00:00 2001 From: Tarak Ben Youssef Date: Sat, 6 Sep 2025 00:46:09 +0800 Subject: [PATCH 1/2] update go version --- .github/workflows/ci.yml | 4 ++-- README.md | 2 +- go.mod | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 656cb0c3..2e0cf61b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,8 +11,8 @@ on: - v[0-9]+.[0-9]+ env: - GO_VERSION: "1.24" - LINT_VERSION: "v2.0.2" + GO_VERSION: "1.25" + LINT_VERSION: "v2.4.0" concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }} diff --git a/README.md b/README.md index 18c9f404..feadb213 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Notes: ## Module import -🚧 Flow cryptography package is written and tested for Go versions up to 1.24. +🚧 Flow cryptography package is tested for Go version 1.25. It is recommended to not build the package with a later Go version. The package is not guaranteed to behave as expected with later Go versions. 🚧 diff --git a/go.mod b/go.mod index e36c0d17..82e322d3 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/onflow/crypto -go 1.24.1 +go 1.25.1 require ( github.com/btcsuite/btcd/btcec/v2 v2.3.4 From ff0d87e2aecbd8b12464b4fe54fae5aaf6a24a3e Mon Sep 17 00:00:00 2001 From: Tarak Ben Youssef Date: Sat, 6 Sep 2025 01:12:34 +0800 Subject: [PATCH 2/2] update linter action version --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2e0cf61b..834fba9b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,7 +37,7 @@ jobs: - name: Run golangci-lint with cgo env: CGO_ENABLED: 1 - uses: golangci/golangci-lint-action@v7 + uses: golangci/golangci-lint-action@v8 with: version: ${{ env.LINT_VERSION }} # https://github.com/golangci/golangci-lint-action/issues/244 @@ -45,7 +45,7 @@ jobs: - name: Run golangci-lint without cgo env: CGO_ENABLED: 0 - uses: golangci/golangci-lint-action@v7 + uses: golangci/golangci-lint-action@v8 with: version: ${{ env.LINT_VERSION }} args: --build-tags no_cgo