Add schemars-v1 and schemars-v0_8 features, reverts schemars-stable t… #129
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Main | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: rust:1.65.0 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: Swatinem/rust-cache@v1 | |
| - name: Build | |
| run: cargo build --verbose --locked | |
| - name: Run tests | |
| run: cargo test --workspace --verbose --locked | |
| test-all: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: rust:1.74.0 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: Swatinem/rust-cache@v1 | |
| - name: Build | |
| run: cargo build --verbose --locked --features __all-non-conflicting-features,abi | |
| - name: Run tests | |
| run: cargo test --features __all-non-conflicting-features,abi --workspace --verbose --locked | |
| test-schemars-v1: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: rust:1.74.0 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: Swatinem/rust-cache@v1 | |
| - name: Build | |
| run: cargo build --verbose --locked --features __all-non-conflicting-features,schemars-v1 | |
| - name: Run tests | |
| run: cargo test --features __all-non-conflicting-features,schemars-v1 --workspace --verbose --locked | |
| clippy: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: rust:1.74.0 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: Swatinem/rust-cache@v1 | |
| - name: Install clippy | |
| run: rustup component add clippy | |
| - name: Run clippy | |
| run: cargo clippy --features __all-non-conflicting-features,abi |