Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
mhils committed Dec 27, 2024
1 parent 2685249 commit e9d668a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ inputs:
runs:
using: "composite"
steps:
- uses: mhils/workflows/checkout@v12
- uses: mhils/workflows/setup-python@v12 # PyO3 wants recent Python on Windows.
- run: rustup toolchain install ${{ inputs.rust-version }} --profile minimal
shell: bash
- run: rustup default ${{ inputs.rust-version }}
shell: bash
- if: inputs.extra-targets
run: rustup target add ${{ inputs.extra-targets }}
shell: bash
- uses: mhils/workflows/rust-cache@v12
1 change: 1 addition & 0 deletions .github/workflows/autofix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
- os: macos-latest
- os: ubuntu-latest
steps:
- uses: mhils/workflows/checkout@v12
- uses: ./.github/actions/setup
with:
rust-version: ${{ env.MSRV }}
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
rust: nightly
args: --package mitmproxy-linux-ebpf
steps:
- uses: mhils/workflows/checkout@v12
- uses: ./.github/actions/setup
with:
rust-version: ${{ matrix.rust }}
Expand Down Expand Up @@ -79,6 +80,7 @@ jobs:
runs-on: ${{ matrix.os }}
name: build mitmproxy-rs (${{ matrix.name }})
steps:
- uses: mhils/workflows/checkout@v12
- uses: ./.github/actions/setup
with:
extra-targets: ${{ matrix.target }}
Expand Down Expand Up @@ -134,6 +136,7 @@ jobs:
runs-on: windows-latest
name: build mitmproxy-windows
steps:
- uses: mhils/workflows/checkout@v12
- uses: ./.github/actions/setup
- uses: install-pinned/build@aa7fb973fec4a5593736c5dc25b322120ca41a98

Expand All @@ -150,6 +153,7 @@ jobs:
needs: build-macos-app
runs-on: macos-latest
steps:
- uses: mhils/workflows/checkout@v12
- uses: ./.github/actions/setup
with:
extra-targets: aarch64-apple-darwin x86_64-apple-darwin
Expand Down Expand Up @@ -182,6 +186,7 @@ jobs:
args: --compatibility manylinux2014 --zig --target aarch64-unknown-linux-gnu
runs-on: ubuntu-latest
steps:
- uses: mhils/workflows/checkout@v12
- uses: ./.github/actions/setup
with:
extra-targets: ${{ matrix.target }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
runs-on: ubuntu-latest
steps:
# TODO: This should ideally just reuse the main CI artifacts.
- uses: mhils/workflows/checkout@v12
- uses: ./.github/actions/setup
- uses: install-pinned/maturin-with-zig@4804d730717f28b7565e71e68e5c9fe8c4f9b089
- uses: install-pinned/mypy@2b552bed479e3f7065314667b670f7303619e989
Expand Down

0 comments on commit e9d668a

Please sign in to comment.