sorug 0.2.0

Ultra-high-performance, zero-copy, WHATWG-compliant URL parser
Documentation
name: CI

on:
  push:
    branches: [main]
  pull_request:
    branches: [main]

# Least privilege: read sources; write caches used by rust-cache.
permissions:
  contents: read
  actions: write

env:
  CARGO_TERM_COLOR: always

jobs:
  test:
    name: test
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: dtolnay/rust-toolchain@stable
        with:
          components: rustfmt, clippy
      - uses: Swatinem/rust-cache@v2
      - name: Test
        run: cargo test --all-targets
      - name: Format
        run: cargo fmt --all -- --check
      - name: Clippy
        run: cargo clippy --all-targets