Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

Commit

Permalink
chore: bump go version to 1.20 (#358)
Browse files Browse the repository at this point in the history
* chore: bump go version to 1.20

* chore: bump go version to 1.20 for e2e

* chore: bump go version to 1.20 for the ci stuff

* chore: bump go version to 1.20 for the ci stuff

* chore: checkout v3

* chore: setup go v3

* chore: lint version to latest

* chore: lint version to v3.3.1

* chore: lint version to v3.4.0

* chore: lint ci changes

* chore: lint ci changes

* chore: lint ci changes

* chore: lint ci changes

* chore:add GO111MODULE: on

* chore: bump the rest
  • Loading branch information
rach-id authored May 11, 2023
1 parent b21d278 commit 1374e50
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 13 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,22 @@ jobs:
name: golangci-lint
runs-on: ubuntu-latest
timeout-minutes: 8
env:
GO111MODULE: on
steps:
- uses: actions/setup-go@v4
with:
go-version: 1.19
go-version: '1.20'
- uses: actions/checkout@v3
- uses: technote-space/[email protected]
with:
PATTERNS: |
**/**.go
go.mod
go.sum
- uses: golangci/golangci-lint-action@v3.4.0
- uses: golangci/golangci-lint-action@v3
with:
version: v1.50.1
version: v1.52
args: --timeout 10m
github-token: ${{ secrets.github_token }}
if: env.GIT_DIFF
2 changes: 1 addition & 1 deletion .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: 1.19
go-version: '1.20'
- name: Unshallow
run: git fetch --prune --unshallow
- name: Create release
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ jobs:
steps:
- uses: actions/setup-go@v4
with:
go-version: 1.19
go-version: '1.20'
- name: Display go version
run: go version
- name: install tparse
run: |
export GO111MODULE="on" && go install github.com/mfridman/tparse@v0.8.3
export GO111MODULE="on" && go install github.com/mfridman/tparse@v0.12.1
- uses: actions/[email protected]
with:
path: ~/go/bin
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: 1.19
go-version: '1.20'
- uses: technote-space/[email protected]
with:
PATTERNS: |
Expand Down Expand Up @@ -152,7 +152,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: 1.19
go-version: '1.20'
- uses: technote-space/[email protected]
with:
PATTERNS: |
Expand Down Expand Up @@ -216,7 +216,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: 1.19
go-version: '1.20'
- uses: technote-space/[email protected]
with:
PATTERNS: |
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# stage 1 Build qgb binary
FROM golang:1.19-alpine as builder
FROM golang:1.20-alpine as builder
RUN apk update && apk --no-cache add make gcc musl-dev git
COPY . /orchestrator-relayer
WORKDIR /orchestrator-relayer
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ go.sum: mod

mod:
@echo "--> Updating go.mod"
@go mod tidy -compat=1.18
@go mod tidy -compat=1.19

pre-build:
@echo "--> Fetching latest git tags"
Expand Down
2 changes: 1 addition & 1 deletion e2e/Dockerfile_e2e
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# stage 1 Build qgb binary
FROM golang:1.19-alpine as builder
FROM golang:1.20-alpine as builder
RUN apk update && apk --no-cache add make gcc musl-dev git
COPY . /orchestrator-relayer
WORKDIR /orchestrator-relayer
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/celestiaorg/orchestrator-relayer

go 1.19
go 1.20

require (
github.com/celestiaorg/celestia-app v0.14.0-rc0.0.20230404075739-41ebe6b1f208
Expand Down

0 comments on commit 1374e50

Please sign in to comment.