File tree Expand file tree Collapse file tree 2 files changed +55
-1
lines changed
Expand file tree Collapse file tree 2 files changed +55
-1
lines changed Original file line number Diff line number Diff line change 1- name : Coverage
1+ name : Publish Project Coverage to Codecov
22
33on :
44 push :
3131 uses : codecov/codecov-action@v4
3232 with :
3333 files : coverage/lcov.info
34+ flags : rust
35+ name : rust-coverage
36+ fail_ci_if_error : true
3437 token : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change 1+ name : Docs
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ workflow_dispatch :
8+
9+ permissions :
10+ contents : read
11+ pages : write
12+ id-token : write
13+
14+ concurrency :
15+ group : pages
16+ cancel-in-progress : false
17+
18+ jobs :
19+ build :
20+ runs-on : ubuntu-latest
21+ steps :
22+ - name : Checkout
23+ uses : actions/checkout@v4
24+ - name : Setup Python
25+ uses : actions/setup-python@v5
26+ with :
27+ python-version : " 3.12"
28+ - name : Install docs dependencies
29+ run : |
30+ curl -LsSf https://astral.sh/uv/install.sh | sh
31+ echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
32+ uv pip install --system mkdocs mkdocs-material pymdown-extensions
33+ - name : Build docs
34+ run : mkdocs build --strict
35+ - name : Configure Pages
36+ uses : actions/configure-pages@v5
37+ - name : Upload Pages artifact
38+ uses : actions/upload-pages-artifact@v3
39+ with :
40+ path : site
41+
42+ deploy :
43+ needs : build
44+ runs-on : ubuntu-latest
45+ environment :
46+ name : github-pages
47+ url : ${{ steps.deployment.outputs.page_url }}
48+ steps :
49+ - name : Deploy to GitHub Pages
50+ id : deployment
51+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments