Update ethers & exclude the evm-test-utils #799
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: CI | |
on: | |
push: | |
branches: [main] | |
paths-ignore: | |
- README.md | |
- CHANGELOG.md # Should never be edited anyway | |
- .gitignore | |
- .github/** | |
pull_request: | |
branches: [main] | |
types: [opened, synchronize, closed] | |
workflow_dispatch: | |
jobs: | |
ci: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
# Name should be the OS name only (e.g. Linux, macOS, Windows) | |
# This is used to generate the badge | |
name: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 50 | |
- name: Cache Cargo | |
uses: actions/cache@v2 | |
with: | |
path: | | |
~/.cargo/registry | |
~/.cargo/git | |
~/.cargo/bin | |
target | |
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
- name: Install Mold Linker | |
uses: rui314/setup-mold@v1 | |
- name: Check Metadata generation | |
run: cargo build --features generate-substrate,generate-contracts | |
- name: Tests | |
run: cargo test --all | |
- name: EVM Proposals | |
run: cargo build -p webb-proposals --no-default-features --features evm,std | |
- name: Substrate Proposals | |
run: cargo build -p webb-proposals --no-default-features --features substrate,std | |
- name: Ink! Proposals | |
run: cargo build -p webb-proposals --no-default-features --features ink,std | |
- name: Rustdoc build | |
run: cargo doc --no-deps --all-features |