Skip to content

Commit

Permalink
GH-44428: [CI][C#] Use setup-python to use "pip install" (#44429)
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: #44428

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 3d8301c commit 648af67
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/csharp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ permissions:
jobs:

ubuntu:
name: AMD64 Ubuntu 18.04 C# ${{ matrix.dotnet }}
name: AMD64 Ubuntu 24.04 C# ${{ matrix.dotnet }}
runs-on: ubuntu-latest
if: ${{ !contains(github.event.pull_request.title, 'WIP') }}
timeout-minutes: 15
Expand All @@ -52,6 +52,10 @@ jobs:
uses: actions/setup-dotnet@v4.0.1
with:
dotnet-version: ${{ matrix.dotnet }}
- name: Setup Python
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
with:
python-version: 3
- name: Checkout Arrow
uses: actions/checkout@v4
with:
Expand Down

0 comments on commit 648af67

Please sign in to comment.