Skip to content

Update to python-project-template v0.7.3 #11

Update to python-project-template v0.7.3

Update to python-project-template v0.7.3 #11

Workflow file for this run

name: Python CI Checks
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
permissions: {}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
code-check-and-unit-test:
runs-on: ubuntu-latest
timeout-minutes: 15
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==1.59.0
uv tool install actionlint-py==1.7.12.25
uv tool install yamllint==1.38.0
just sync
- name: Lint
run: |
just ci-lint
- name: Spell check
uses: crate-ci/typos@276087d9a4f06398b3e04825487805e2d7375888 # v1.52.2
- name: Unit tests
run: |
just coverage
markdownlint:
runs-on: ubuntu-latest
timeout-minutes: 15
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@696eb3f2509270d7b882d2aa68347bc676e7af34 # v25.0.0
with:
globs: "**/*.md"