Skip to content

Commit

Permalink
Cleanup Python installation in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
cberner committed Nov 25, 2023
1 parent a77affd commit 1797177
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,10 @@ jobs:
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml', '.github/workflows/*.yml') }}

- name: Install packages
if: startsWith(matrix.os, 'ubuntu')
run: |
sudo apt update
sudo apt install -y python3 python3-pip python3-dev python3-venv
- name: Install packages
if: startsWith(matrix.os, 'macos')
run: |
brew install python3 openssl
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: "3.10"

- uses: actions-rs/toolchain@v1
with:
Expand Down

0 comments on commit 1797177

Please sign in to comment.