Skip to content

fix(formatter): do not break single inlined arg #69

fix(formatter): do not break single inlined arg

fix(formatter): do not break single inlined arg #69

Workflow file for this run

name: Continuous Integration
on:
push:
branches: [main]
pull_request:
jobs:
build-and-test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
rust: [stable, nightly]
exclude:
- os: windows-latest
rust: nightly
- os: macos-latest
rust: stable
runs-on: ${{ matrix.os }}
steps:
- name: checkout
uses: actions/checkout@v2
- name: install rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ matrix.rust }}
override: true
- name: add rustfmt and clippy
run: rustup component add rustfmt clippy
- name: cargo check
run: cargo check --workspace --locked
- name: cargo fmt
run: cargo fmt --all -- --check
- name: cargo clippy
run: cargo clippy --workspace --all-targets --all-features -- -D warnings
- name: cargo test
run: cargo test --workspace --locked --all-targets
- name: cargo build
run: cargo build --workspace --release --locked --all-targets