Skip to content

Commit

Permalink
GH-44430: [CI][Swfit] Use setup-python to use "pip install" (#44431)
Browse files Browse the repository at this point in the history
### Rationale for this change

We can't use `pip install` with Ubuntu 24.04's Python.

### What changes are included in this PR?

Use `actions/setup-python` instead of Ubuntu 24.04's Python.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* GitHub Issue: #44430

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
  • Loading branch information
kou authored Oct 16, 2024
1 parent f6d0dd3 commit 3d8301c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ jobs:
with:
fetch-depth: 0
submodules: recursive
- name: Setup Python on hosted runner
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
with:
python-version: 3
- name: Setup Archery
run: pip install -e dev/archery[docker]
- name: Execute Docker Build
Expand Down

0 comments on commit 3d8301c

Please sign in to comment.