Skip to content

Upgrade the bridge to work with chain signatures #614

Upgrade the bridge to work with chain signatures

Upgrade the bridge to work with chain signatures #614

Workflow file for this run

---
on:
push:
branches:
- master
pull_request:
name: Tests
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- subject: erc20-connector
cmd: ./erc20-connector/build.sh
- subject: erc20-bridge-token
cmd: ./erc20-bridge-token/build.sh
- subject: bridge-token
cmd: ./bridge-token/build.sh
- subject: bridge-token-factory
cmd: ./bridge-token-factory/build.sh
- subject: token-locker
cmd: ./token-locker/build.sh
name: Build and diff ${{ matrix.subject }}
steps:
- name: Clone the repository
uses: actions/checkout@v2
- name: Build
run: ${{ matrix.cmd }}
- name: Diff
run: |
git diff
git status
changed_files=$(git status --porcelain --untracked-files=no | wc -l)
if [ $changed_files -gt 0 ]; then
echo 'contract changed, please rebuild contract'
exit 1
fi
test-erc20-connector:
runs-on: ubuntu-latest
name: Test erc20-connector
steps:
- name: Clone the repository
uses: actions/checkout@v2
- name: Test
run: |
cd erc20-connector
yarn
yarn test
test-erc20-bridge-token:
runs-on: ubuntu-latest
name: Test erc20-bridge-token
steps:
- name: Clone the repository
uses: actions/checkout@v2
- name: Test
run: |
cd erc20-bridge-token
yarn
yarn test
test-bridge-token-factory:
runs-on: ubuntu-latest
name: Test bridge-token-factory
steps:
- name: Clone the repository
uses: actions/checkout@v2
- name: Test
run: |
make test
test-token-locker:
runs-on: ubuntu-latest
name: Test token-locker
steps:
- name: Clone the repository
uses: actions/checkout@v2
- name: Test
run: |
make test-token-locker
test-silo-to-silo:
runs-on: ubuntu-latest
name: Test silo-to-silo
steps:
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Clone the repository
uses: actions/checkout@v2
with:
submodules: recursive
- name: Test
run: |
make test-token-silo-to-silo