Skip to content

build(deps): bump the dependencies group across 1 directory with 4 updates #766

build(deps): bump the dependencies group across 1 directory with 4 updates

build(deps): bump the dependencies group across 1 directory with 4 updates #766

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@dd55f44df8f7cdb7a6bf74c78677eb8acd40cd0a
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@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2.7.3
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@dd55f44df8f7cdb7a6bf74c78677eb8acd40cd0a