-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge the changes of finschia v3.0.0-rc1 from v2.0.0
- Loading branch information
Showing
46 changed files
with
4,230 additions
and
7,459 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# These owners will be the default owners for everything in | ||
# the repo. Unless a later match takes precedenc | ||
* @tkxkd0159 @zemyblue @0Tech @jaeseung-bae |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
name: E2E-IBC | ||
|
||
on: | ||
pull_request: | ||
push: | ||
tags: | ||
- "**" | ||
branches: | ||
- "main" | ||
|
||
permissions: | ||
contents: read | ||
packages: write | ||
|
||
env: | ||
GO_VERSION: '1.20' | ||
TAR_PATH: /tmp/fnsad-docker-image.tar | ||
IMAGE_NAME: finschia | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build-docker: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Go ${{ env.GO_VERSION }} | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: ${{ env.GO_VERSION }} | ||
cache-dependency-path: interchaintest/go.sum | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
|
||
- name: Build and export | ||
uses: docker/build-push-action@v5 | ||
with: | ||
context: . | ||
tags: finschia:local | ||
outputs: type=docker,dest=${{ env.TAR_PATH }} | ||
|
||
- name: Upload artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: ${{ env.IMAGE_NAME }} | ||
path: ${{ env.TAR_PATH }} | ||
|
||
e2e-tests: | ||
needs: build-docker | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
# names of `make` commands to run tests | ||
test: | ||
- "test-e2e-ibc" | ||
fail-fast: false | ||
|
||
steps: | ||
- name: Set up Go ${{ env.GO_VERSION }} | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: ${{ env.GO_VERSION }} | ||
cache-dependency-path: interchaintest/go.sum | ||
|
||
- name: checkout chain | ||
uses: actions/checkout@v4 | ||
|
||
- name: Download Tarball Artifact | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: ${{ env.IMAGE_NAME }} | ||
path: /tmp | ||
|
||
- name: Load Docker Image | ||
run: | | ||
docker image load -i ${{ env.TAR_PATH }} | ||
docker image ls -a | ||
- name: Run Test | ||
run: make ${{ matrix.test }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Check Make Format | ||
# this workflow checks that go files is formated by `make format` | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
check-format: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.20' | ||
- name: Display go version | ||
run: go version | ||
- uses: actions/cache@v3 | ||
id: cache | ||
with: | ||
path: ~/go/bin | ||
key: ${{ runner.os }}-go-v1.20-misspell-v0.3.4-goimports-reviser-v3.4.5 | ||
- name: install misspell | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
run: | | ||
go install github.com/client9/misspell/cmd/misspell@v0.3.4 | ||
- name: install goimports-reviser | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
run: | | ||
go install github.com/incu6us/goimports-reviser/v3@v3.4.5 | ||
- name: Make Format | ||
run: make format | ||
- name: Check Diff | ||
run: git diff --exit-code |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.