Skip to content

Problem: missing verification api for wc 2.0 (fix #474) #1441

Problem: missing verification api for wc 2.0 (fix #474)

Problem: missing verification api for wc 2.0 (fix #474) #1441

Workflow file for this run

name: Continuous Integration
on:
push:
branches:
- main
paths-ignore:
- README.md
merge_group:
pull_request:
paths-ignore:
- README.md
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: -Dwarnings
jobs:
check:
name: cargo check
runs-on: ubuntu-latest
env:
RUSTFLAGS: -A dead_code
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: dtolnay/rust-toolchain@stable
- uses: actions/cache@v2
with:
path: |
~/.cargo/bin/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-stable-${{ hashFiles('**/Cargo.lock') }}
- run: cargo check
test:
name: cargo test
runs-on: ubuntu-latest
env:
RUSTFLAGS: -A dead_code
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: dtolnay/rust-toolchain@stable
with:
components: llvm-tools-preview
- uses: actions/cache@v2
with:
path: |
~/.cargo/bin/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-stable-${{ hashFiles('**/Cargo.lock') }}
- name: Run tests
run: cargo test --all-features --all
fmt:
name: cargo fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- uses: actions/cache@v2
with:
path: |
~/.cargo/bin/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-stable-${{ hashFiles('**/Cargo.lock') }}
- run: cargo fmt --all -- --check
clippy:
name: cargo clippy
runs-on: ubuntu-latest
env:
RUSTFLAGS: -A dead_code
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- uses: actions/cache@v2
with:
path: |
~/.cargo/bin/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-stable-${{ hashFiles('**/Cargo.lock') }}
- name: Check with clippy
run: cargo clippy --all --all-features -- -D warnings