Skip to content

Commit 7fb44d0

Browse files
committed
chore(ci): install dependencies via uv
1 parent 2031724 commit 7fb44d0

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

.github/workflows/build.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,12 @@ jobs:
8080
- uses: actions/checkout@v4
8181

8282
- name: Set up Python
83-
uses: actions/setup-python@v5
83+
uses: astral-sh/setup-uv@v7
8484
with:
8585
python-version: "3.13"
8686

8787
- name: Install linting packages
88-
run: pip install -r ./requirements/linting.txt
88+
run: uv pip install -r ./requirements/linting.txt
8989

9090
- name: Linting the codebase
9191
run: poe linter
@@ -106,13 +106,13 @@ jobs:
106106
- uses: actions/checkout@v4
107107

108108
- name: Set up Python ${{ matrix.python-version }}
109-
uses: actions/setup-python@v5
109+
uses: astral-sh/setup-uv@v7
110110
with:
111111
python-version: ${{ matrix.python-version }}
112112

113113
- name: Install packages
114114
run: |
115-
pip install ./allure-python-commons \
115+
uv pip install ./allure-python-commons \
116116
./allure-python-commons-test \
117117
./allure-pytest \
118118
pytest==${{ matrix.pytest-version }} \
@@ -141,13 +141,13 @@ jobs:
141141
- uses: actions/checkout@v4
142142

143143
- name: Set up Python ${{ matrix.python-version }}
144-
uses: actions/setup-python@v5
144+
uses: astral-sh/setup-uv@v7
145145
with:
146146
python-version: ${{ matrix.python-version }}
147147

148148
- name: Install packages
149149
run: |
150-
pip install ./allure-python-commons \
150+
uv pip install ./allure-python-commons \
151151
./allure-python-commons-test \
152152
./${{ matrix.package }} \
153153
-r ./requirements/testing.txt \

.github/workflows/release.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,12 @@ jobs:
1616
- uses: actions/checkout@v4
1717

1818
- name: Set up Python
19-
uses: actions/setup-python@v5
19+
uses: astral-sh/setup-uv@v7
2020
with:
2121
python-version: '3.x'
2222

2323
- name: Install dependencies
24-
run: |
25-
python -m pip install --upgrade pip
26-
pip install setuptools wheel twine
24+
run: uv pip install setuptools wheel twine
2725

2826
- name: Build and publish
2927
env:

0 commit comments

Comments
 (0)