Skip to content

Commit e7fe2d7

Browse files
committed
ci: replace blocked setup-uv action
Signed-off-by: Dmitrii Cherkasov <dmitrii.cherkasov@oracle.com>
1 parent f6c8b5d commit e7fe2d7

File tree

3 files changed

+21
-18
lines changed

3 files changed

+21
-18
lines changed

.github/workflows/publish-to-pypi.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,16 @@ jobs:
1818
uses: actions/setup-python@v5
1919
with:
2020
python-version: "3.12"
21-
22-
- name: Install uv
23-
uses: astral-sh/setup-uv@v7
24-
with:
25-
enable-cache: true
26-
cache-dependency-glob: |
21+
cache: "pip"
22+
cache-dependency-path: |
2723
pyproject.toml
2824
**requirements.txt
2925
26+
- name: Install uv
27+
run: |
28+
python -m pip install --upgrade pip
29+
python -m pip install uv
30+
3031
- name: Build distribution 📦
3132
run: |
3233
uv run --no-project --with build python -m build --sdist --wheel --outdir dist
@@ -67,9 +68,12 @@ jobs:
6768
uses: actions/setup-python@v5
6869
with:
6970
python-version: "3.12"
71+
cache: "pip"
7072

7173
- name: Install uv
72-
uses: astral-sh/setup-uv@v7
74+
run: |
75+
python -m pip install --upgrade pip
76+
python -m pip install uv
7377
7478
- name: Publish distribution 📦 to PyPI
7579
env:

.github/workflows/run-unittests-py39-cov-report.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -128,13 +128,14 @@ jobs:
128128
- uses: actions/setup-python@v5
129129
with:
130130
python-version: "3.9"
131-
- name: "Install uv"
132-
uses: astral-sh/setup-uv@v7
133-
with:
134-
enable-cache: true
135-
cache-dependency-glob: |
131+
cache: "pip"
132+
cache-dependency-path: |
136133
pyproject.toml
137134
**requirements.txt
135+
- name: "Install uv"
136+
run: |
137+
python -m pip install --upgrade pip
138+
python -m pip install uv
138139
- name: "Download coverage files"
139140
uses: actions/download-artifact@v4
140141
- name: "Calculate overall coverage"

.github/workflows/test-env-setup/action.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,10 @@ inputs:
1111
runs:
1212
using: composite
1313
steps:
14-
- uses: astral-sh/setup-uv@v7
15-
with:
16-
enable-cache: true
17-
cache-dependency-glob: |
18-
pyproject.toml
19-
**requirements.txt
14+
- shell: bash
15+
run: |
16+
python -m pip install --upgrade pip
17+
python -m pip install uv
2018
2119
- shell: bash
2220
run: |

0 commit comments

Comments
 (0)