Skip to content

Use strum crate for enum-related utilities #1339

Use strum crate for enum-related utilities

Use strum crate for enum-related utilities #1339

Workflow file for this run

name: Rust
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
check-style:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Report rustfmt version
run: cargo fmt -- --version
- name: Check style
run: cargo fmt -- --check
check-clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Report clippy version
run: cargo clippy -- --version
- name: Check clippy
run: cargo xtask clippy --strict
check-license:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Check license headers
uses: apache/skywalking-eyes/header@501a28d2fb4a9b962661987e50cf0219631b32ff
build-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@stable
- name: Test build documentation
run: cargo doc --workspace --no-deps
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@stable
- name: Build mock-only server
run: cargo build --bin propolis-server --features mock-only
- name: Build
run: cargo build --verbose
- name: Test Libraries
run: cargo test --lib --verbose