Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updating go to 1.22.2 #456

Merged
merged 1 commit into from
Jun 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ jobs:
- uses: actions/checkout@v4.1.7
- uses: actions/setup-go@v5
with:
go-version: 1.20.2 # The Go version to download (if necessary) and use.
go-version: 1.22.2 # The Go version to download (if necessary) and use.
- name: Build CLI
run: go install ./...
2 changes: 1 addition & 1 deletion .github/workflows/canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v4.1.7
- uses: actions/setup-go@v5
with:
go-version: 1.21.0 # The Go version to download (if necessary) and use.
go-version: 1.22.2 # The Go version to download (if necessary) and use.
- name: Build CLI
shell: bash
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- uses: actions/checkout@v4.1.7
- uses: actions/setup-go@v5
with:
go-version: 1.20.2 # The Go version to download (if necessary) and use.
go-version: 1.22.2 # The Go version to download (if necessary) and use.
- name: Get Coverage
run: |
go test ./... -timeout=30m -cover -coverprofile coverage.out
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
steps:
- uses: actions/setup-go@v5
with:
go-version: 1.20.2
go-version: 1.22.2
- uses: actions/checkout@v4.1.7
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v4.1.7
- uses: actions/setup-go@v5
with:
go-version: 1.20.2 # The Go version to download (if necessary) and use.
go-version: 1.22.2 # The Go version to download (if necessary) and use.
- name: Build CLI
shell: bash
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-full-app-sim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v4.1.7
- uses: actions/setup-go@v5
with:
go-version: 1.20.2 # The Go version to download (if necessary) and use.
go-version: 1.22.2 # The Go version to download (if necessary) and use.
- name: Simulation Test
shell: bash
run: make test-sim-full-app
2 changes: 1 addition & 1 deletion .github/workflows/test-import-export-sim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v4.1.7
- uses: actions/setup-go@v5
with:
go-version: 1.20.2 # The Go version to download (if necessary) and use.
go-version: 1.22.2 # The Go version to download (if necessary) and use.
- name: Simulation
shell: bash
run: make test-sim-import-export
2 changes: 1 addition & 1 deletion .github/workflows/test-unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v4.1.7
- uses: actions/setup-go@v5
with:
go-version: 1.20.2 # The Go version to download (if necessary) and use.
go-version: 1.22.2 # The Go version to download (if necessary) and use.
- name: Test
shell: bash
run: make test-unit
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ build_tags_comma_sep := $(subst $(empty),$(comma),$(build_tags))

# Add check to make sure we are using the proper Go version before proceeding with anything
check-go-version:
@if ! go version | grep -q "go1.21"; then \
echo "\033[0;31mERROR:\033[0m Go version 1.21 is required for compiling canined. It looks like you are using" "$(shell go version) \nThere are potential consensus-breaking changes that can occur when running binaries compiled with different versions of Go. Please download Go version 1.21 and retry. Thank you!"; \
@if ! go version | grep -q "go1.22"; then \
echo "\033[0;31mERROR:\033[0m Go version 1.21 is required for compiling canined. It looks like you are using" "$(shell go version) \nThere are potential consensus-breaking changes that can occur when running binaries compiled with different versions of Go. Please download Go version 1.22 and retry. Thank you!"; \
exit 1; \
fi

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/jackalLabs/canine-chain/v4

go 1.20
go 1.22.2

require (
github.com/CosmWasm/wasmd v0.32.0
Expand Down
27 changes: 27 additions & 0 deletions go.sum

Large diffs are not rendered by default.

Loading