Skip to content

Commit

Permalink
Upgrade Go to 1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
msmania committed Dec 20, 2023
1 parent 2949970 commit 900363f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
# TODO: Make builds for all platforms where Pocket Core is expected to run
build:
docker:
- image: cimg/go:1.18
- image: cimg/go:1.21
environment:
GO111MODULE: "on"
resource_class: medium+
Expand All @@ -35,7 +35,7 @@ jobs:
# TODO: Expand the testing capabilities
test:
docker:
- image: cimg/go:1.18
- image: cimg/go:1.21
environment:
GO111MODULE: "on"
working_directory: /home/circleci/go/src/github.com/pokt-network/pocket-core
Expand All @@ -52,7 +52,7 @@ jobs:
# Job to trigger the Pocket Core deployments CI with a specific branch
trigger-pocket-core-deployments-branches:
docker:
- image: cimg/go:1.18
- image: cimg/go:1.21
environment:
GO111MODULE: "on"
working_directory: /home/circleci/go/src/github.com/pokt-network/pocket-core
Expand All @@ -67,11 +67,11 @@ jobs:
# Trigger Pocket Core deployments CI
- run:
name: Trigger Pocket Core Deployment build using branch.
command: "sh .circleci/trigger.sh ${POCKET_CORE_DEPLOYMENTS_TRIGGER_API_KEY} ${CIRCLE_BRANCH} 1.18 staging"
command: "sh .circleci/trigger.sh ${POCKET_CORE_DEPLOYMENTS_TRIGGER_API_KEY} ${CIRCLE_BRANCH} 1.21 staging"
# Job to trigger the Pocket Core deployments CI with a specific tag
trigger-pocket-core-deployments-tags:
docker:
- image: cimg/go:1.18
- image: cimg/go:1.21
environment:
GO111MODULE: "on"
working_directory: /home/circleci/go/src/github.com/pokt-network/pocket-core
Expand All @@ -86,7 +86,7 @@ jobs:
# Trigger Pocket Core deployments CI
- run:
name: Trigger Pocket Core Deployment build using tags.
command: "sh .circleci/trigger.sh ${POCKET_CORE_DEPLOYMENTS_TRIGGER_API_KEY} ${CIRCLE_TAG} 1.18 staging"
command: "sh .circleci/trigger.sh ${POCKET_CORE_DEPLOYMENTS_TRIGGER_API_KEY} ${CIRCLE_TAG} 1.21 staging"

# Workflow definitions
workflows:
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Within your fork you are free to work however you want, but keep in mind that in

#### Setting up the Go Environment

Please follow the [Official Installation Guide](https://go.dev/doc/install) to complete this step. Pocket Core uses `go 1.18` so make sure to install the appropiate version before beginning development.
Please follow the [Official Installation Guide](https://go.dev/doc/install) to complete this step. Pocket Core uses `go 1.21` so make sure to install the appropiate version before beginning development.

#### Installing dependencies

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Official golang implementation of the Pocket Network Protocol.
<div>
<a href="https://godoc.org/github.com/pokt-network/pocket-core"><img src="https://img.shields.io/badge/godoc-reference-blue.svg"/></a>
<a href="https://goreportcard.com/report/github.com/pokt-network/pocket-core"><img src="https://goreportcard.com/badge/github.com/pokt-network/pocket-core"/></a>
<a href="https://golang.org"><img src="https://img.shields.io/badge/golang-v1.18-red.svg"/></a>
<a href="https://golang.org"><img src="https://img.shields.io/badge/golang-v1.21-red.svg"/></a>
<a href="https://github.com/tools/godep" ><img src="https://img.shields.io/badge/godep-dependency-71a3d9.svg"/></a>
</div>

Expand Down

0 comments on commit 900363f

Please sign in to comment.