Skip to content

Derive macro: Printable #206

Derive macro: Printable

Derive macro: Printable #206

Workflow file for this run

name: pliron
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- run: RUSTFLAGS="-D warnings" cargo build --workspace --verbose
tests:
name: Run tests
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- run: cargo test --workspace --verbose
clippy:
name: Clippy
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- run: cargo clippy --workspace -- -D warnings
format:
name: Code format
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- run: cargo fmt --check
docs:
name: Documentation
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- run: RUSTDOCFLAGS="-D warnings" cargo doc --workspace