Skip to content

Update some crates

Update some crates #86

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