Skip to content

Commit 9c484c3

Browse files
committed
chore: CI/CDのPythonのセットアップをmiseに変更
1 parent 987172b commit 9c484c3

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,11 @@ jobs:
1515
with:
1616
toolchain: '1.77'
1717
- uses: Swatinem/rust-cache@v2
18-
# python3 and package jinja2
19-
- uses: actions/setup-python@v2
20-
with:
21-
python-version: 3.x
22-
- run: python3 -m pip install jinja2 PyYAML
18+
- uses: jdx/mise-action@v2
19+
- run: source .venv/bin/activate
20+
- run: uv sync --locked
2321
- run: cargo test --package typst-docs --lib -- tests::test_docs --exact --nocapture
24-
- run: python3 ./gen.py
22+
- run: python ./gen.py
2523
# deploy ./dist to https://github.com/typst-doc-cn/typst-doc-cn.github.io
2624
- name: Deploy
2725
if: github.ref == 'refs/heads/main'

0 commit comments

Comments
 (0)