fix(build): broken indentation #170
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
| on: | ||
| workflow_call: | ||
| inputs: | ||
| crate-name: | ||
| required: true | ||
| type: string | ||
| crate-path: | ||
| required: true | ||
| type: string | ||
| default-features: | ||
| required: false | ||
| type: string | ||
| jobs: | ||
| lint: | ||
| name: Check for Formatting/Linting/Semantic Issues | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v2 | ||
| - name: Setup Rust Environment (Cached) | ||
| uses: ./.github/actions/common/setup-rust-environment/ | ||
| - name: Install Formatting Dependencies | ||
| run: | | ||
| cargo install cargo-sort cargo-deny | ||
| rustup component add rustfmt clippy | ||
| working-directory: $crate-path | ||
| - name: Check Formatting | ||
| run: cargo fmt -- --check | ||
| working-directory: $crate-path | ||
| - name: Check Cargo.toml Sorting | ||
| run: cargo sort --check | ||
| working-directory: $crate-path | ||
| - name: Check for Clippy Warnings | ||
| run: cargo clippy -p $crate-name --features $default-features --no-deps | ||
| working-directory: $crate-path | ||
| - name: Check for Crate Duplication | ||
| run: cargo deny check bans | ||
| working-directory: $crate-path | ||
| - name: Check for Advisories | ||
| run: cargo deny check advisories | ||
| working-directory: $crate-path | ||
| test: | ||
| name: Run Host Tests | ||
| runs-on: ubuntu-latest | ||
| env: | ||
| # NOTE: Unsure why this is here | ||
| RUST_MIN_STACK: 8388608 | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v2 | ||
| - name: Setup Rust Environment (Cached) | ||
| uses: ./.github/actions/common/setup-rust-environment/ | ||
| name: "Run Host Tests" | ||
| - uses: actions-rs/cargo@v1 | ||
| with: | ||
| command: make | ||
| args: test-host | ||