From 187094e009fdfbb357142c398ec81385fb5f9bd3 Mon Sep 17 00:00:00 2001 From: Yiming Zang Date: Fri, 23 Jun 2023 06:37:22 -0700 Subject: [PATCH 1/3] Add forward compatibility chech --- .github/workflows/compatiblity_check.yml | 29 ++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/compatiblity_check.yml diff --git a/.github/workflows/compatiblity_check.yml b/.github/workflows/compatiblity_check.yml new file mode 100644 index 000000000..b70b8bd41 --- /dev/null +++ b/.github/workflows/compatiblity_check.yml @@ -0,0 +1,29 @@ +name: Compatibility Check +on: + pull_request: + push: + branches: + - master + +jobs: + forward-compatibility: + name: check-compatibility + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-go@v3 + with: + go-version: 1.20 + + - name: Check Latest Dependencies + run: | + cd .. + git clone https://github.com/sei-protocol/sei-chain.git + git clone https://github.com/sei-protocol/sei-tendermint.git + git clone https://github.com/sei-protocol/sei-iavl.git + cd sei-chain + go mod edit -replace github.com/cosmos/iavl=../sei-iavl + go mod edit -replace github.com/tendermint/tendermint=../sei-tendermint + go mod edit -replace github.com/cosmos/cosmos-sdk=../sei-cosmos + go mod tidy + make install \ No newline at end of file From ab84deae0916e153d4d914fbf5f1e986aeb3ae2e Mon Sep 17 00:00:00 2001 From: Yiming Zang Date: Fri, 23 Jun 2023 06:40:57 -0700 Subject: [PATCH 2/3] Fix go version --- .github/workflows/compatiblity_check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/compatiblity_check.yml b/.github/workflows/compatiblity_check.yml index b70b8bd41..4417889d6 100644 --- a/.github/workflows/compatiblity_check.yml +++ b/.github/workflows/compatiblity_check.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: 1.20 + go-version: 1.19 - name: Check Latest Dependencies run: | From ff5e9e3b3da9b6c23093566bbbc9af7d2687d747 Mon Sep 17 00:00:00 2001 From: Yiming Zang Date: Fri, 23 Jun 2023 06:44:35 -0700 Subject: [PATCH 3/3] Fix the test name --- .github/workflows/compatiblity_check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/compatiblity_check.yml b/.github/workflows/compatiblity_check.yml index 4417889d6..8b510a08f 100644 --- a/.github/workflows/compatiblity_check.yml +++ b/.github/workflows/compatiblity_check.yml @@ -7,7 +7,7 @@ on: jobs: forward-compatibility: - name: check-compatibility + name: forward-compatibility runs-on: ubuntu-latest steps: - uses: actions/checkout@v3