Skip to content

Commit f94cae0

Browse files
author
shijiashuai
committed
chore: update GitHub Pages workflow and docs
1 parent 42b22b6 commit f94cae0

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
uses: actions/setup-python@v5
2525
with:
2626
python-version: "3.11"
27+
cache: pip
2728

2829
- name: Install ruff
2930
run: pip install ruff
@@ -64,6 +65,7 @@ jobs:
6465
uses: actions/setup-python@v5
6566
with:
6667
python-version: "3.11"
68+
cache: pip
6769

6870
- name: Install test dependencies
6971
run: pip install pytest hypothesis torch --index-url https://download.pytorch.org/whl/cpu

.github/workflows/pages.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,14 @@ jobs:
2525
steps:
2626
- name: Checkout
2727
uses: actions/checkout@v4
28+
with:
29+
sparse-checkout-cone-mode: false
30+
sparse-checkout: |
31+
*.md
32+
_config.yml
33+
docs
34+
changelog
35+
LICENSE
2836
2937
- name: Setup Pages
3038
uses: actions/configure-pages@v5

0 commit comments

Comments
 (0)