Skip to content

Do not add a newline if the comment is at the top of a node. (#39) #61

Do not add a newline if the comment is at the top of a node. (#39)

Do not add a newline if the comment is at the top of a node. (#39) #61

Workflow file for this run

name: Build
on: push
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true
- name: Set up Rust
uses: dtolnay/rust-toolchain@v1
with:
toolchain: stable
- name: Build
run: cargo build --release --locked
- name: Test
run: cargo test
format:
name: Check formatting
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true
- name: Install Rust
uses: dtolnay/rust-toolchain@v1
with:
toolchain: nightly
components: rustfmt
- name: Check formatting
run: cargo +nightly fmt --all --check