Skip to content

factorize as_str method #101

factorize as_str method

factorize as_str method #101

Workflow file for this run

name: Lint and Test
on: [push, pull_request]
jobs:
fmt:
name: fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: rustup update
- run: rustup component add rustfmt
- run: cargo fmt -- --check
clippy:
name: clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: rustup update
- run: rustup component add clippy
- run: cargo clippy --all --all-targets --all-features
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
submodules: true
- run: rustup update
- run: cargo build --all-features
- run: cargo test --verbose --all --all-features
env:
RUST_BACKTRACE: 1