Bump rustler from 0.35.0 to 0.35.1 in /native/html5ever_nif #96
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rust CI | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- "native/**" | |
pull_request: | |
paths: | |
- "native/**" | |
workflow_dispatch: | |
jobs: | |
lint-rust: | |
name: Lint Rust | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
manifest: | |
- native/html5ever_nif/Cargo.toml | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
with: | |
components: rustfmt, clippy | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
workspaces: | | |
native/html5ever_nif | |
- name: run rustfmt | |
run: cargo fmt --manifest-path=${{ matrix.manifest }} --all -- --check | |
- name: run clippy | |
run: cargo clippy --manifest-path=${{ matrix.manifest }} -- -Dwarnings |