aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/docs.yml
diff options
context:
space:
mode:
authorJán Jančár2025-11-22 13:52:24 +0100
committerGitHub2025-11-22 13:52:24 +0100
commit8436df07381295b05a0cc892cca27e475629ee80 (patch)
tree9b940ee0a8851baaff67567c4004cd3c2cc027fd /.github/workflows/docs.yml
parent7cfa1c9fc498013d1a4807e5a11f55f39e6595aa (diff)
parent21aa562cdd1c21cc66e0b19b52b414af2782377e (diff)
downloadsec-certs-main.tar.gz
sec-certs-main.tar.zst
sec-certs-main.zip
Merge pull request #530 from crocs-muni/fix/try-spacyHEADmain
Move to uv
Diffstat (limited to '.github/workflows/docs.yml')
-rw-r--r--.github/workflows/docs.yml18
1 files changed, 8 insertions, 10 deletions
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 6deb8984..eb432751 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -11,24 +11,22 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- - uses: actions/setup-python@v5
- with:
- python-version: "3.10"
- cache: "pip"
- cache-dependency-path: |
- requirements/dev_requirements.txt
- name: apt-get update
run: sudo apt-get update
- name: Install external dependencies
run: sudo apt-get install build-essential libpoppler-cpp-dev pkg-config python3-dev -y
- - name: Install sec-certs and deps
+ - name: Install uv and Python
+ uses: astral-sh/setup-uv@v6
+ with:
+ python-version: ${{ matrix.python-version }}
+ enable-cache: true
+ - name: Install sec-certs
run: |
- pip install -r requirements/dev_requirements.txt
- pip install -e .
+ uv sync --locked --dev
- name: Build docs
run: |
cd docs
- make html
+ uv run make html
- name: Save docs artifact
uses: actions/upload-artifact@v4.4.0
with: