Skip to content

Print indentation correctly #6

Print indentation correctly

Print indentation correctly #6

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
env:
RUST_TOOLCHAIN: '1.80'
jobs:
test:
runs-on: ubuntu-22.04
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ env.RUST_TOOLCHAIN }}
# Compile, but don't run.
- run: cargo test --no-run
- run: cargo test --all-features
fmt:
runs-on: ubuntu-22.04
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ env.RUST_TOOLCHAIN }}
- run: cargo fmt --all -- --check