mirror of https://github.com/astral-sh/uv
Cache Python binaries in CI
This commit is contained in:
parent
f21c033db8
commit
9f44ffd10f
|
|
@ -54,7 +54,13 @@ jobs:
|
||||||
name: "cargo test | ${{ matrix.os }}"
|
name: "cargo test | ${{ matrix.os }}"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: "Install required Python versions"
|
|
||||||
|
- name: Cache Python binaries
|
||||||
|
uses: actions/cache@v4
|
||||||
|
with:
|
||||||
|
path: bin
|
||||||
|
key: ${{ runner.os }}-py--${{ hashFiles('.python-versions') }}
|
||||||
|
- name: "Install Python binaries"
|
||||||
run: |
|
run: |
|
||||||
sudo apt install direnv
|
sudo apt install direnv
|
||||||
scripts/bootstrap/install.sh
|
scripts/bootstrap/install.sh
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue