chore: bump version to 0.3.0 and update changelog #25
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: Code Quality | |
| on: | |
| push: | |
| branches: [ main, develop ] | |
| pull_request: | |
| branches: [ main ] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| quality: | |
| name: Code quality checks | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| version: "latest" | |
| enable-cache: true | |
| - name: Set up Python | |
| run: uv python install 3.11 | |
| - name: Install dependencies | |
| run: uv sync --group dev | |
| - name: Check code formatting with Black | |
| run: uv run black --check --diff hyperdb/ tests/ | |
| - name: Check import sorting with isort | |
| run: uv run isort --check-only --diff hyperdb/ tests/ | |
| - name: Lint with flake8 | |
| run: uv run flake8 hyperdb/ tests/ | |
| - name: Type checking with mypy | |
| run: uv run mypy hyperdb/ --ignore-missing-imports | |
| - name: Security check with bandit | |
| run: uv run bandit -r hyperdb/ --severity-level medium | |
| continue-on-error: true | |
| - name: Run safety check | |
| run: uv run safety check | |
| continue-on-error: true |