Skip to content

implement InclusionProof::try_from_bytes and PartialEq + Eq for `… #5

implement InclusionProof::try_from_bytes and PartialEq + Eq for `…

implement InclusionProof::try_from_bytes and PartialEq + Eq for `… #5

Workflow file for this run

name: CI
on:
pull_request:
paths-ignore:
- README.md
push:
branches: main
paths-ignore:
- README.md
jobs:
test:
strategy:
matrix:
platform:
- ubuntu-latest
- macos-latest
- windows-latest
toolchain:
- stable
- beta
- nightly
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout sources
uses: actions/checkout@v1
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
override: true
- name: Run cargo test with no default features
env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: -D warnings
run: cargo test --no-default-features
- name: Run cargo test with all features enabled
env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: -D warnings
run: cargo test --all-features
rustfmt:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v1
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
components: rustfmt
- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
components: clippy
- run: cargo clippy --all-features -- -D warnings