Repository navigation
Add Zensical, Actionlint, and MkDocs #31
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Python CI Checks | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| permissions: {} | |
| jobs: | |
| code-check-and-unit-test: | |
| runs-on: ubuntu-slim | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3 | |
| with: | |
| enable-cache: false | |
| version: ">=0.13,<0.14" | |
| - name: Setup environment | |
| run: | | |
| uv tool install rust-just | |
| just sync | |
| - name: Lint | |
| run: | | |
| just ci-lint | |
| - name: Unit tests | |
| run: | | |
| just test | |
| - name: Docs build | |
| run: | | |
| just docs-build | |
| markdownlint: | |
| runs-on: ubuntu-slim | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| # Keep markdownlint-cli2 in step with the VS Code markdownlint extension | |
| - name: Markdownlint | |
| uses: DavidAnson/markdownlint-cli2-action@21c1be1b93ad9ed58fa840aacc3f279cde2a72ff # v24.2.0 | |
| with: | |
| globs: "**/*.md" |