Replace Poetry with uv for dependency management and workflows #122
This file contains 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: Linting and type checking | |
on: | |
pull_request: | |
workflow_call: | |
jobs: | |
run_tests: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
python-version: ["3.11"] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup environment | |
uses: ./.github/setup-env | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Run mypy | |
run: mypy src/hssm | |
- name: Check formatting | |
run: ruff format --check . | |
- name: Linting | |
run: ruff check src/hssm |