Skip to content

fix(build): broken indentation #170

fix(build): broken indentation

fix(build): broken indentation #170

Workflow file for this run

on:

Check failure on line 1 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

(Line: 64, Col: 7): 'name' is already defined
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