tor-check 0.2.2

Extend your favorite HTTP client with a Tor verification feature
Documentation
name: CI
on:
  push:
     branches: [main]
  pull_request:
     branches: [main]

env:
  RUSTFLAGS: "-Dwarnings"  # Make sure CI fails on all warnings
  CARGO_TERM_COLOR: always

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Install prerequisites
        run: |
          rustup update stable
          rustup default stable
          rustup component add rustfmt clippy
      - name: Code formatting check
        run: cargo fmt --verbose --check
      - name: Code check
        run: cargo clippy --all-features
      - name: Run tests
        run: cargo test --verbose --all-features