Skip to content

Fix multiline lambdas in ternaries having too much indentation and ge… #41

Fix multiline lambdas in ternaries having too much indentation and ge…

Fix multiline lambdas in ternaries having too much indentation and ge… #41

Workflow file for this run

name: Test
on:
push:
branches: ["*"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
jobs:
test:
name: Run tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: dtolnay/rust-toolchain@stable
- uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-
- name: Build
run: cargo build --workspace --all-targets
- name: Run tests
run: cargo test --workspace --all-targets