Skip to content

Commit d007640

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

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,10 @@ 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: uv sync --locked
2320
- run: cargo test --package typst-docs --lib -- tests::test_docs --exact --nocapture
24-
- run: python3 ./gen.py
21+
- run: .venv/bin/python ./gen.py
2522
# deploy ./dist to https://github.com/typst-doc-cn/typst-doc-cn.github.io
2623
- name: Deploy
2724
if: github.ref == 'refs/heads/main'

0 commit comments

Comments
 (0)