Skip to content

Commit ab78389

Browse files
authored
Use uv in continuous integration workflows (#207)
* Use uv in GitHub workflows * pre-commit * Comment out 'nox -s check' We had not been running this before, and it is not passing. I want to fix it in separate pull requests.
1 parent 50ca558 commit ab78389

File tree

1 file changed

+9
-14
lines changed

1 file changed

+9
-14
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,27 +20,22 @@ jobs:
2020
include:
2121

2222
- name: Build website
23-
python: '3.12'
2423
nox_session: build
2524

26-
- name: Perform Nikola checks
27-
python: '3.12'
28-
nox_session: check
25+
# - name: Perform Nikola checks
26+
# nox_session: check
2927

3028
steps:
29+
3130
- name: Checkout code
3231
uses: actions/checkout@v4
33-
with:
34-
fetch-depth: 0
3532

36-
- name: Set up Python
37-
uses: actions/setup-python@v5
33+
- name: Install uv and set the Python version
34+
uses: astral-sh/setup-uv@v7
3835
with:
39-
python-version: ${{ matrix.python }}
40-
cache: pip
41-
42-
- name: Install Nox and uv
43-
run: python -m pip install --progress-bar off --upgrade nox uv
36+
version: 0.9.23
37+
python-version: '3.14'
38+
enable-cache: true
4439

4540
- name: Run Nox session
46-
run: nox -s build
41+
run: uvx nox -s ${{ matrix.nox_session }}

0 commit comments

Comments
 (0)