Skip to content

Commit 37b82ca

Browse files
committed
Use new action
1 parent 03f3d5e commit 37b82ca

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,8 @@ jobs:
135135
components: clippy
136136
- uses: Swatinem/rust-cache@v2
137137

138-
- name: Set up the Mac environment
139-
run: brew install autoconf automake libtool
140-
if: runner.os == 'macOS'
138+
- name: Install macOS dependencies
139+
uses: ./.github/actions/install-macos-deps
141140

142141
- name: run clippy
143142
run: cargo clippy ${{ env.CARGO_ARGS }} --workspace --all-targets ${{ env.WORKSPACE_EXCLUDES }} -- -Dwarnings
@@ -299,9 +298,10 @@ jobs:
299298
with:
300299
python-version: ${{ env.PYTHON_VERSION }}
301300

302-
- name: Set up the Mac environment
303-
run: brew install autoconf automake libtool openssl@3
304-
if: runner.os == 'macOS'
301+
- name: Install macOS dependencies
302+
uses: ./.github/actions/install-macos-deps
303+
with:
304+
openssl: true
305305

306306
- name: build rustpython
307307
run: cargo build --release --verbose --features=threading,jit ${{ env.CARGO_ARGS }}

0 commit comments

Comments
 (0)