Skip to content

comrak v0.26

comrak v0.26 #170

Workflow file for this run

name: Rust CI
on:
push:
branches:
- main
paths:
- "native/**"
pull_request:
paths:
- "native/**"
workflow_dispatch:
jobs:
lint-rust:
name: Lint Rust
runs-on: ubuntu-latest
strategy:
matrix:
manifest:
- native/comrak_nif/Cargo.toml
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
with:
workspaces: |
native/comrak_nif
- name: run rustfmt
run: cargo fmt --manifest-path=${{ matrix.manifest }} --all -- --check
- name: run clippy
run: cargo clippy --manifest-path=${{ matrix.manifest }} -- -Dwarnings