chg : go version in CI from 1.20.x to 1.21.x

This commit is contained in:
Shivam Sharma 2024-01-16 17:01:46 +05:30
parent 6a2d94e215
commit cb4a8557fd
6 changed files with 13 additions and 13 deletions

View file

@ -29,7 +29,7 @@ jobs:
- uses: actions/setup-go@v3
with:
go-version: 1.20.x
go-version: 1.21.x
- name: Install dependencies on Linux
if: runner.os == 'Linux'
@ -61,7 +61,7 @@ jobs:
- uses: actions/setup-go@v3
with:
go-version: 1.20.x
go-version: 1.21.x
- name: Install dependencies on Linux
if: runner.os == 'Linux'
@ -89,7 +89,7 @@ jobs:
- uses: actions/setup-go@v3
with:
go-version: 1.20.x
go-version: 1.21.x
- name: Install dependencies on Linux
if: runner.os == 'Linux'
@ -140,7 +140,7 @@ jobs:
- uses: actions/setup-go@v3
with:
go-version: 1.20.x
go-version: 1.21.x
- name: Install dependencies on Linux
if: runner.os == 'Linux'
@ -196,7 +196,7 @@ jobs:
- uses: actions/setup-go@v3
with:
go-version: 1.20.x
go-version: 1.21.x
- name: Checkout matic-cli
uses: actions/checkout@v3

View file

@ -21,7 +21,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@master
with:
go-version: 1.20.x
go-version: 1.21.x
- name: Adding TAG to ENV
run: echo "GIT_TAG=`echo $(git describe --tags --abbrev=0)`" >> $GITHUB_ENV

View file

@ -21,7 +21,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@master
with:
go-version: 1.20.x
go-version: 1.21.x
- name: Prepare
id: prepare

View file

@ -62,7 +62,7 @@ jobs:
if: type = push
os: linux
dist: bionic
go: 1.20.x
go: 1.21.x
env:
- ubuntu-ppa
- GO111MODULE=on
@ -144,7 +144,7 @@ jobs:
- sdkmanager "platform-tools" "platforms;android-15" "platforms;android-19" "platforms;android-24" "ndk-bundle"
# Install Go to allow building with
- curl https://dl.google.com/go/go1.20.5.linux-amd64.tar.gz | tar -xz
- curl https://dl.google.com/go/go1.21.4.linux-amd64.tar.gz | tar -xz
- export PATH=`pwd`/go/bin:$PATH
- export GOROOT=`pwd`/go
- export GOPATH=$HOME/go
@ -184,14 +184,14 @@ jobs:
os: linux
arch: arm64
dist: bionic
go: 1.20.x
go: 1.21.x
script:
- travis_wait 30 go run build/ci.go test $TEST_PACKAGES
- stage: build
os: linux
dist: bionic
go: 1.20.x
go: 1.21.x
script:
- travis_wait 30 go run build/ci.go test $TEST_PACKAGES

View file

@ -1,5 +1,5 @@
# Build Geth in a stock Go builder container
FROM golang:1.20.5-alpine as builder
FROM golang:1.21.4-alpine as builder
RUN apk add --no-cache make gcc musl-dev linux-headers git

View file

@ -201,7 +201,7 @@ geth-windows-amd64:
@ls -ld $(GOBIN)/geth-windows-* | grep amd64
PACKAGE_NAME := github.com/maticnetwork/bor
GOLANG_CROSS_VERSION ?= v1.20.5
GOLANG_CROSS_VERSION ?= v1.21.4
.PHONY: release-dry-run
release-dry-run: