Skip to content

Update contracts to v1.0.6 #789

Update contracts to v1.0.6

Update contracts to v1.0.6 #789

Workflow file for this run

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