Skip to content

Commit

Permalink
chore(deps): Bump go version to 1.21.1 (#2541)
Browse files Browse the repository at this point in the history
Bump Go version to 1.21.1 because QGB repo can't depend on celestia-app
due to:

```
go: module github.com/celestiaorg/quantum-gravity-bridge/[email protected] requires go >= 1.21.1; switching to go1.21.1
```

(cherry picked from commit cb82cc3)

# Conflicts:
#	.github/workflows/nightly.yml
  • Loading branch information
rach-id authored and mergify[bot] committed Sep 19, 2023
1 parent d992eda commit cb7c45b
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
- run: git fetch --force --tags
- uses: actions/setup-go@v4
with:
go-version: 1.21
go-version: 1.21.1
# Generate the binaries and release
- uses: goreleaser/goreleaser-action@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
workflow_call:

env:
GO_VERSION: '1.21'
GO_VERSION: '1.21.1'

jobs:
golangci-lint:
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: nightly
on:
schedule:
# runs every day at 6am UTC
- cron: "0 6 * * *"

env:
GO_VERSION: '1.21.1'

jobs:
e2e-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}

- name: Setup kubeconfig
env:
KUBECONFIG_FILE: ${{ secrets.KNUU_KUBECONFIG_FILE }}
run: |
mkdir -p $HOME/.kube
echo "${KUBECONFIG_FILE}" > $HOME/.kube/config
- name: Run e2e tests
run: make test-e2e
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
workflow_call:

env:
GO_VERSION: '1.21'
GO_VERSION: '1.21.1'

jobs:
test:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ node | | | |

## Install

1. [Install Go](https://go.dev/doc/install) 1.21
1. [Install Go](https://go.dev/doc/install) 1.21.1
1. Clone this repo
1. Install the celestia-app CLI

Expand Down
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module github.com/celestiaorg/celestia-app

go 1.21

toolchain go1.21.0
go 1.21.1

require (
github.com/celestiaorg/nmt v0.19.0
Expand Down

0 comments on commit cb7c45b

Please sign in to comment.