build(deps): bump install-pinned/mypy from 2b552bed479e3f7065314667b670f7303619e989 to 75779f141592e4909d64e13f8a1861f06aa9cd8d in the dependencies group #920
This file contains 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: autofix.ci | |
on: | |
pull_request: | |
permissions: | |
contents: read | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
MSRV: "1.80" # Minimum Supported Rust Version | |
jobs: | |
protobuf: | |
runs-on: macos-latest | |
steps: | |
- uses: mhils/workflows/checkout@v16 | |
- run: brew install swift-protobuf | |
- run: cargo install protoc-gen-prost | |
- run: protoc --proto_path=./src/ipc/ mitmproxy_ipc.proto | |
--prost_out=./src/ipc/ | |
--prost_opt="bytes=data" | |
--swift_out=./mitmproxy-macos/redirector/ipc | |
- run: cargo fmt --all | |
- uses: autofix-ci/action@551dded8c6cc8a1054039c8bc0b8b48c51dfc6ef | |
rustfmt: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
include: | |
- os: windows-latest | |
- os: macos-latest | |
- os: ubuntu-latest | |
steps: | |
- uses: mhils/workflows/checkout@v16 | |
- uses: ./.github/actions/setup | |
with: | |
rust-version: ${{ env.MSRV }} | |
toolchain-args: --component rustfmt --component clippy | |
# We could run clippy on mitmproxy-linux-ebpf with | |
# cargo +nightly clippy --workspace -- -C panic=abort -Zpanic_abort_tests | |
# but that means we'd use nightly clippy, which may change its behavior (and thus break CI). | |
# So we rather exempt mitmproxy-linux-ebpf from clippy lints. | |
- run: cargo clippy --fix --allow-dirty --workspace --exclude mitmproxy-linux-ebpf | |
- run: cargo fmt --all | |
- run: git checkout src/ipc/mitmproxy_ipc.rs | |
- uses: autofix-ci/action@551dded8c6cc8a1054039c8bc0b8b48c51dfc6ef |