Skip to content

Commit

Permalink
Revert "feat: apply the changes of Finschia v3.0.0-rc1 (#34)"
Browse files Browse the repository at this point in the history
This reverts commit 2961479.
  • Loading branch information
zemyblue committed Mar 7, 2024
1 parent 2961479 commit d2b5672
Show file tree
Hide file tree
Showing 48 changed files with 9,848 additions and 6,622 deletions.
3 changes: 0 additions & 3 deletions .github/CODEOWNERS

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/check-generated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup Golang
uses: actions/setup-go@v5
uses: actions/setup-go@v4
with:
go-version: '1.20'

- uses: actions/checkout@v4
- uses: actions/checkout@v3
with:
fetch-depth: 1

- name: Install protoc
uses: arduino/setup-protoc@v2

- name: Set up Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v3
with:
node-version: "16"
- run: if [ ! -x "$(command -v yarn)" ]; then npm install -g yarn; fi
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/ci-smart-contract.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
outputs:
get_diff: ${{ steps.diff.outputs.diff }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v3
- name: Get diff
id: diff
uses: technote-space/get-diff-action@v6.1.2
Expand All @@ -42,7 +42,7 @@ jobs:
outputs:
cosmwasm_versions: ${{ steps.releases.outputs.versions }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v3
- name: Get cosmwasm releases
id: releases
run: |
Expand All @@ -58,8 +58,8 @@ jobs:
matrix:
go-arch: ["amd64"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
- name: Build
Expand All @@ -78,8 +78,8 @@ jobs:
matrix:
versions: ${{ fromJson(needs.get-cosmwasm-releases.outputs.cosmwasm_versions) }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
- name: Download smart contracts
Expand Down Expand Up @@ -118,10 +118,10 @@ jobs:
needs: check-diffs
if: ${{ needs.check-diffs.outputs.get_diff }}
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
- uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v2
- name: Build and export
uses: docker/build-push-action@v5
uses: docker/build-push-action@v4
with:
file: Dockerfile
context: .
Expand All @@ -141,8 +141,8 @@ jobs:
matrix:
versions: ${{ fromJson(needs.get-cosmwasm-releases.outputs.cosmwasm_versions) }}
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
- uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v2
- name: Download smart contracts
uses: dsaltares/fetch-gh-release-asset@master
with:
Expand Down
16 changes: 6 additions & 10 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4
uses: actions/checkout@v3
with:
fetch-depth: 0

Expand All @@ -25,14 +25,10 @@ jobs:

- name: Set up docker buildx
id: buildx
uses: docker/setup-buildx-action@v3
with:
endpoint: buildx
config-inline: |
[registry."docker.io"]
uses: docker/setup-buildx-action@v2

- name: Login to the registry
uses: docker/login-action@v3
uses: docker/login-action@v2
with:
registry: ${{env.registry}}
username: ${{secrets.DOCKERHUB_USERNAME}}
Expand All @@ -41,7 +37,7 @@ jobs:
- name: Find go version
id: find_go_version
run: |
GO_VERSION=$(cat go.mod | grep -E 'go [0-9].[0-9]+' | cut -d ' ' -f 2)
GO_VERSION=$(grep -E '^go [0-9]+\.[0-9]+' go.mod | cut -d ' ' -f 2)
echo "GO_VERSION=$GO_VERSION" >> $GITHUB_ENV
- name: Find Ostracon version
Expand All @@ -63,15 +59,15 @@ jobs:
- name: Extract metadata for docker
id: meta
uses: docker/metadata-action@v5
uses: docker/metadata-action@v4
with:
images: ${{env.registry}}/${{env.DOCKER_REPOSITORY}}
tags: |
type=semver,pattern={{version}}
# Build Docker image
- name: Build and push
uses: docker/build-push-action@v5
uses: docker/build-push-action@v4
with:
file: Dockerfile
context: .
Expand Down
85 changes: 0 additions & 85 deletions .github/workflows/e2e-ibc.yml

This file was deleted.

35 changes: 0 additions & 35 deletions .github/workflows/format.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 6
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v3
- uses: technote-space/get-diff-action@v6.1.2
with:
PATTERNS: |
**/**.go
go.mod
go.sum
- uses: actions/setup-go@v5
- uses: actions/setup-go@v4
with:
go-version: '1.20'
- uses: golangci/golangci-lint-action@v3
Expand Down
Loading

0 comments on commit d2b5672

Please sign in to comment.