diff --git a/.github/workflows/build-linux-binaries.yml b/.github/workflows/build-linux-binaries.yml index 857ba374a20..2f6f73b50be 100644 --- a/.github/workflows/build-linux-binaries.yml +++ b/.github/workflows/build-linux-binaries.yml @@ -11,7 +11,7 @@ on: - "*" env: - go_version: '~1.21.7' + go_version: '~1.21.8' jobs: build-x86_64-binaries-tarball: diff --git a/.github/workflows/build-macos-release.yml b/.github/workflows/build-macos-release.yml index ea057dbfadb..05616745cbd 100644 --- a/.github/workflows/build-macos-release.yml +++ b/.github/workflows/build-macos-release.yml @@ -26,7 +26,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: '~1.21.7' + go-version: '~1.21.8' check-latest: true - run: go version diff --git a/.github/workflows/build-public-ami.yml b/.github/workflows/build-public-ami.yml index e32e43de235..3ecd2fd4fb8 100644 --- a/.github/workflows/build-public-ami.yml +++ b/.github/workflows/build-public-ami.yml @@ -19,7 +19,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: '~1.21.7' + go-version: '~1.21.8' check-latest: true - run: go version diff --git a/.github/workflows/build-ubuntu-amd64-release.yml b/.github/workflows/build-ubuntu-amd64-release.yml index 86be909be5c..73faff76a6c 100644 --- a/.github/workflows/build-ubuntu-amd64-release.yml +++ b/.github/workflows/build-ubuntu-amd64-release.yml @@ -11,7 +11,7 @@ on: - "*" env: - go_version: '~1.21.7' + go_version: '~1.21.8' jobs: build-jammy-amd64-package: diff --git a/.github/workflows/build-ubuntu-arm64-release.yml b/.github/workflows/build-ubuntu-arm64-release.yml index 6c0b37d6924..5bdaf0c6228 100644 --- a/.github/workflows/build-ubuntu-arm64-release.yml +++ b/.github/workflows/build-ubuntu-arm64-release.yml @@ -11,7 +11,7 @@ on: - "*" env: - go_version: '~1.21.7' + go_version: '~1.21.8' jobs: build-jammy-arm64-package: diff --git a/.github/workflows/build-win-release.yml b/.github/workflows/build-win-release.yml index ef4ef29f2fe..c40366e3ee6 100644 --- a/.github/workflows/build-win-release.yml +++ b/.github/workflows/build-win-release.yml @@ -26,7 +26,7 @@ jobs: - uses: actions/setup-go@v5 with: - go-version: '~1.21.7' + go-version: '~1.21.8' check-latest: true - run: go version diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 88c803ffe85..f1dfd862d56 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ concurrency: cancel-in-progress: true env: - go_version: '~1.21.7' + go_version: '~1.21.8' tmpnet_data_path: ~/.tmpnet/networks/1000 jobs: diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 85a5e059b33..52eb42989f3 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -45,7 +45,7 @@ jobs: - name: Setup Golang uses: actions/setup-go@v5 with: - go-version: '~1.21.7' + go-version: '~1.21.8' check-latest: true # Initializes the CodeQL tools for scanning. diff --git a/.github/workflows/fuzz.yml b/.github/workflows/fuzz.yml index 07c5d2dbfcb..58b52a8aa94 100644 --- a/.github/workflows/fuzz.yml +++ b/.github/workflows/fuzz.yml @@ -18,7 +18,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '~1.21.7' + go-version: '~1.21.8' check-latest: true - name: Run fuzz tests shell: bash diff --git a/.github/workflows/fuzz_merkledb.yml b/.github/workflows/fuzz_merkledb.yml index 09c58ffd38e..7659f07a7c1 100644 --- a/.github/workflows/fuzz_merkledb.yml +++ b/.github/workflows/fuzz_merkledb.yml @@ -20,7 +20,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '~1.21.7' + go-version: '~1.21.8' check-latest: true - name: Run merkledb fuzz tests shell: bash diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3e509ed1106..444065b6718 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -4,7 +4,7 @@ To start developing on AvalancheGo, you'll need a few things installed. -- Golang version >= 1.21.7 +- Golang version >= 1.21.8 - gcc - g++ diff --git a/Dockerfile b/Dockerfile index 62594f64c76..035b203d8ca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ # README.md # go.mod # ============= Compilation Stage ================ -FROM golang:1.21.7-bullseye AS builder +FROM golang:1.21.8-bullseye AS builder WORKDIR /build # Copy and download avalanche dependencies using go mod diff --git a/README.md b/README.md index 7eec5b925b8..b4e213d368b 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ The minimum recommended hardware specification for nodes connected to Mainnet is If you plan to build AvalancheGo from source, you will also need the following software: -- [Go](https://golang.org/doc/install) version >= 1.21.7 +- [Go](https://golang.org/doc/install) version >= 1.21.8 - [gcc](https://gcc.gnu.org/) - g++ diff --git a/proto/Dockerfile.buf b/proto/Dockerfile.buf index 3007f58667b..2b826b17062 100644 --- a/proto/Dockerfile.buf +++ b/proto/Dockerfile.buf @@ -6,7 +6,7 @@ RUN apt-get update && apt -y install bash curl unzip git WORKDIR /opt RUN \ - curl -L https://go.dev/dl/go1.21.7.linux-amd64.tar.gz > golang.tar.gz && \ + curl -L https://go.dev/dl/go1.21.8.linux-amd64.tar.gz > golang.tar.gz && \ mkdir golang && \ tar -zxvf golang.tar.gz -C golang/ diff --git a/scripts/build_avalanche.sh b/scripts/build_avalanche.sh index eda63a5b959..a2b06508668 100755 --- a/scripts/build_avalanche.sh +++ b/scripts/build_avalanche.sh @@ -27,7 +27,7 @@ done # Dockerfile # README.md # go.mod -go_version_minimum="1.21.7" +go_version_minimum="1.21.8" go_version() { go version | sed -nE -e 's/[^0-9.]+([0-9.]+).+/\1/p'