Skip to content

Processing of TCP packets sent by the SYSTEM process using windows-redirector.exe #818

Processing of TCP packets sent by the SYSTEM process using windows-redirector.exe

Processing of TCP packets sent by the SYSTEM process using windows-redirector.exe #818

Workflow file for this run

name: autofix.ci
on:
pull_request:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
rust_clippy: "1.80" # MSRV
jobs:
protobuf:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- run: brew install swift-protobuf
- run: cargo install protoc-gen-prost
- run: protoc --proto_path=./src/ipc/ mitmproxy_ipc.proto
--prost_out=./src/ipc/
--swift_out=./mitmproxy-macos/redirector/ipc
- run: cargo fmt --all
- uses: autofix-ci/action@ff86a557419858bb967097bfc916833f5647fa8c
rustfmt:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: windows-latest
- os: macos-latest
- os: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: rustup toolchain install ${{ env.rust_clippy }} --profile minimal --component rustfmt --component clippy
- run: rustup default ${{ env.rust_clippy }}
- uses: Swatinem/rust-cache@82a92a6e8fbeee089604da2575dc567ae9ddeaab # v2.7.5
timeout-minutes: 2
continue-on-error: true
# PyO3 wants recent Python on Windows.
- uses: actions/setup-python@v5
with:
python-version-file: .github/python-version.txt
- run: cargo clippy --fix --allow-dirty --workspace
- run: cargo fmt --all
- run: git checkout src/ipc/mitmproxy_ipc.rs
- uses: autofix-ci/action@ff86a557419858bb967097bfc916833f5647fa8c