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

Update module to go 1.22 and simple start chain test #203

Merged
merged 7 commits into from
May 31, 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
44 changes: 0 additions & 44 deletions .github/mergify.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
runs-on: ubuntu-latest
name: build
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: 1.21
go-version: 1.22
- run: go build ./...
12 changes: 6 additions & 6 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name: 'CodeQL'
name: "CodeQL"

on:
pull_request:
paths:
- '**.go'
- "**.go"
push:
branches:
- main
- release/**
paths:
- '**.go'
- "**.go"

jobs:
analyze:
Expand All @@ -22,15 +22,15 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: actions/setup-go@v3
uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.21
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: 'go'
languages: "go"
queries: crypto-com/cosmos-sdk-codeql@main,security-and-quality

- name: Build
Expand Down
54 changes: 27 additions & 27 deletions .github/workflows/interchaintest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
id: build_push_image
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
file: Dockerfile
context: .
Expand All @@ -31,13 +31,13 @@ jobs:
runs-on: ubuntu-latest
needs: build-and-push-image
steps:
- name: Set up Go 1.21
uses: actions/setup-go@v3
- name: Set up Go 1.22
uses: actions/setup-go@v5
with:
go-version: 1.21
go-version: 1.22

- name: checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- run: make ictest-basic
env:
Expand All @@ -47,13 +47,13 @@ jobs:
runs-on: ubuntu-latest
needs: build-and-push-image
steps:
- name: Set up Go 1.21
uses: actions/setup-go@v3
- name: Set up Go 1.22
uses: actions/setup-go@v5
with:
go-version: 1.21
go-version: 1.22

- name: checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- run: make ictest-ibc
env:
Expand All @@ -63,13 +63,13 @@ jobs:
runs-on: ubuntu-latest
needs: build-and-push-image
steps:
- name: Set up Go 1.21
uses: actions/setup-go@v3
- name: Set up Go 1.22
uses: actions/setup-go@v5
with:
go-version: 1.21
go-version: 1.22

- name: checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- run: make ictest-ibc-custom
env:
Expand All @@ -79,13 +79,13 @@ jobs:
runs-on: ubuntu-latest
needs: build-and-push-image
steps:
- name: Set up Go 1.21
uses: actions/setup-go@v3
- name: Set up Go 1.22
uses: actions/setup-go@v5
with:
go-version: 1.21
go-version: 1.22

- name: checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- run: make ictest-packet-forward
env:
Expand All @@ -95,13 +95,13 @@ jobs:
runs-on: ubuntu-latest
needs: build-and-push-image
steps:
- name: Set up Go 1.21
uses: actions/setup-go@v3
- name: Set up Go 1.22
uses: actions/setup-go@v5
with:
go-version: 1.21
go-version: 1.22

- name: checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- run: make ictest-host-zone-proposal
env:
Expand All @@ -111,13 +111,13 @@ jobs:
runs-on: ubuntu-latest
needs: build-and-push-image
steps:
- name: Set up Go 1.21
uses: actions/setup-go@v3
- name: Set up Go 1.22
uses: actions/setup-go@v5
with:
go-version: 1.21
go-version: 1.22

- name: checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- run: make ictest-query-osmosis-twap
env:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: 1.21
- uses: actions/checkout@v3
go-version: 1.22
- uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v5
with:
version: latest
args: --timeout 15m
10 changes: 5 additions & 5 deletions .github/workflows/push_docker_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,17 @@ on:
types: [published, created, edited]
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+' # ignore rc
- "v[0-9]+.[0-9]+.[0-9]+" # ignore rc
jobs:
feeapp-images:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Login to DockerHub
uses: docker/login-action@v3
Expand All @@ -49,7 +49,7 @@ jobs:
echo "PATCH_VERSION=$PATCH_VERSION" >> $GITHUB_ENV
- name: Build and push
id: build_push_image
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
file: Dockerfile
context: .
Expand Down
29 changes: 12 additions & 17 deletions .github/workflows/push_protobuf_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# osmolabs/fa-proto-gen:commit-hash # is pushed
# osmolabs/fa-proto-gen:latest # is updated
#
#
# All the images above have support for linux/amd64 and linux/arm64.

name: Push Protogen Images
Expand All @@ -17,29 +17,24 @@ jobs:
feeapp-images:
runs-on: ubuntu-latest
steps:
-
name: Check out the repo
uses: actions/checkout@v3
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to DockerHub
uses: docker/login-action@v2
- name: Check out the repo
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
- name: Build and push
id: build_push_image
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
file: proto/Dockerfile
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: |
osmolabs/fa-proto-gen:${{ github.sha }}
osmolabs/fa-proto-gen:${{ github.sha }}
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
name: test
steps:
- name: Install Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: 1.21
go-version: 1.22
- name: Checkout code
uses: actions/checkout@v3
- name: Test
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1

ARG GO_VERSION="1.21"
ARG GO_VERSION="1.22"
# --------------------------------------------------------
# Builder
# --------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion deps/gaia
Submodule gaia deleted from 19e63c
1 change: 0 additions & 1 deletion deps/osmosis
Submodule osmosis deleted from dba4b8
1 change: 0 additions & 1 deletion deps/relayer
Submodule relayer deleted from a63cd7
1 change: 0 additions & 1 deletion deps/stargaze
Submodule stargaze deleted from 66f830
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/osmosis-labs/fee-abstraction/v8

go 1.21
go 1.22.3

require (
cosmossdk.io/client/v2 v2.0.0-beta.1
Expand Down
Loading
Loading