Skip to content

refactor: replace bytes wrapper with ethers-rs types #6

refactor: replace bytes wrapper with ethers-rs types

refactor: replace bytes wrapper with ethers-rs types #6

Workflow file for this run

name: Continuous Integration
on:
push:
branches: [master]
pull_request:
types: [opened, synchronize, reopened]
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: full
jobs:
unit-tests:
name: unit tests
runs-on: ubuntu-latest
timeout-minutes: 20
env:
RUSTFLAGS: "-D warnings"
steps:
- uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v2
- name: unit tests
uses: actions-rs/cargo@v1
with:
command: test
args: --verbose --workspace -- --nocapture
rustfmt:
name: rustfmt
runs-on: ubuntu-latest
timeout-minutes: 10
env:
RUSTFLAGS: "-D warnings"
steps:
- uses: actions/checkout@v2
- name: rustfmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
clippy:
name: clippy
runs-on: ubuntu-latest
timeout-minutes: 20
env:
RUSTFLAGS: "-D warnings"
steps:
- uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v2
- name: clippy
uses: actions-rs/cargo@v1
with:
command: clippy
release-check:
name: release check
runs-on: ubuntu-latest
timeout-minutes: 20
env:
RUSTFLAGS: "-D warnings"
steps:
- uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v2
- name: release check
uses: actions-rs/cargo@v1
with:
command: check
args: --release