Try again to set up pip
This commit is contained in:
parent
35d0c0b4a2
commit
70484eac68
1 changed files with 6 additions and 3 deletions
|
@ -40,10 +40,11 @@ jobs:
|
|||
uses: actions/setup-python@v5
|
||||
with:
|
||||
cache: pip
|
||||
- name: Install pip
|
||||
run: python3 -m ensurepip
|
||||
- name: Set up Python environment
|
||||
run: python3 -m pip install -r requirements.txt
|
||||
run: |
|
||||
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
|
||||
python3 get-pip.py
|
||||
python3 -m pip install -r requirements.txt
|
||||
- name: Set up Rust
|
||||
uses: https://github.com/dtolnay/rust-toolchain@stable
|
||||
- name: Build Rust code
|
||||
|
@ -57,5 +58,7 @@ jobs:
|
|||
uses: actions/checkout@v4
|
||||
- name: Set up Rust
|
||||
uses: https://github.com/dtolnay/rust-toolchain@stable
|
||||
- name: Set up Python toolchain
|
||||
uses: actions/setup-python@v5
|
||||
- name: Run Rust tests
|
||||
run: cargo test
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue