This repository was archived by the owner on Apr 1, 2026. It is now read-only.
chore: bump v0.1.2, update CHANGELOG #8
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| RUSTFLAGS: "--cfg reqwest_unstable" | |
| jobs: | |
| check: | |
| name: Check, Lint, Unit Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: Format check | |
| run: cargo fmt -p webclaw-http -p webclaw-tls-bench --check | |
| - name: Clippy | |
| run: cargo clippy -p webclaw-http -- -W clippy::all | |
| - name: Unit tests | |
| run: cargo test -p webclaw-http --lib | |
| - name: Hermetic tests | |
| run: cargo test -p webclaw-http --test unit | |
| integration: | |
| name: Integration Tests (network) | |
| runs-on: ubuntu-latest | |
| if: github.event_name == 'push' | |
| continue-on-error: true | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: Fingerprint tests | |
| run: cargo test -p webclaw-http --test fingerprint | |
| - name: HTTP method tests | |
| run: cargo test -p webclaw-http --test http_methods | |
| sync-downstream: | |
| name: Sync to webclaw core | |
| runs-on: ubuntu-latest | |
| needs: [check] | |
| if: github.event_name == 'push' && github.ref == 'refs/heads/main' | |
| steps: | |
| - name: Trigger core dependency update | |
| run: | | |
| gh api repos/0xMassi/webclaw/dispatches \ | |
| -f event_type=tls-updated \ | |
| -f client_payload[sha]=${{ github.sha }} | |
| env: | |
| GH_TOKEN: ${{ secrets.SYNC_PAT }} |