Skip to content

Bump rustler from 0.31.0 to 0.32.1 in /native/html5ever_nif (#136) #46

Bump rustler from 0.31.0 to 0.32.1 in /native/html5ever_nif (#136)

Bump rustler from 0.31.0 to 0.32.1 in /native/html5ever_nif (#136) #46

Workflow file for this run

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