feat: check sender is ibc handler in ICS20Transfer #101
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
name: Contract Test | |
on: | |
push: | |
pull_request: | |
types: [ opened, synchronize, reopened ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'yarn' | |
cache-dependency-path: 'yarn.lock' | |
- run: yarn install | |
- run: npx truffle version | |
- name: Run Ethereum locally for test | |
run: npx ganache > ganache.log & | |
- run: yarn compile | |
- name: Run test | |
run: npx truffle test |