build(deps): bump install-pinned/maturin from 1008b0b20e9cbc1b084334bd96f022734ce56e88 to 18a9a3b28f101f1737ff0b83d09800c06c0685f7 in the dependencies group #944
Workflow file for this run
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@v17 | |
- 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@v17 | |
- 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 |