Skip to content

Update README.md

Update README.md #141

Workflow file for this run

name: Rust CI
on:
pull_request:
push:
branches:
- main
defaults:
run:
working-directory: ./native/comrak_nif/
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
components: rustfmt, clippy
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: rust-cargo-${{ hashFiles('**/Cargo.lock') }}
- run: cargo fmt -- --check
- run: |
touch src/lib.rs
cargo clippy --all-targets --all-features -- -D warnings