Skip to content

chore(deps): bump actions/checkout from 4.3.1 to 6.0.2 (#105) #273

chore(deps): bump actions/checkout from 4.3.1 to 6.0.2 (#105)

chore(deps): bump actions/checkout from 4.3.1 to 6.0.2 (#105) #273

Workflow file for this run

name: Test package
on:
push:
branches:
- main
pull_request:
jobs:
lint-and-test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ['3.10', '3.11', '3.12']
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: ${{ matrix.python-version }}
- name: Install uv
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
with:
version: "0.7.13"
- name: Install dependencies
run: |
uv sync --dev
- name: Lint with ruff
run: |
uv run ruff check .
- name: Run unit tests
run: |
uv run python -m unittest