Dependabot monitoring PyPi dependencies(deps): Bump typer from 0.14.0 to 0.15.0 #763
Workflow file for this run
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: Python application | |
on: | |
push: | |
branches: ["trunk", "develop"] | |
pull_request: | |
branches: ["trunk", "develop"] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
strategy: | |
matrix: | |
version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] | |
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories | |
os: [ubuntu-latest, windows-latest, macos-13, macos-latest] | |
runs-on: ${{ matrix.os }} | |
# Python 3.8 and 3.9 are not available on macOS aarch64 any more | |
# Python 3.13.0-alpha.6 does not work on Windows | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
if: ${{ !((matrix.version == '3.8' || matrix.version == '3.9') && matrix.os == 'macos-latest')}} | |
with: | |
python-version: ${{ matrix.version }} | |
cache: "pip" | |
- name: Install dependencies | |
if: ${{ !((matrix.version == '3.8' || matrix.version == '3.9') && matrix.os == 'macos-latest')}} | |
run: | | |
python -m pip install --upgrade pip setuptools wheel | |
pip install flake8 ruff | |
pip install -r requirements.txt | |
- name: Lint with flake8 | |
if: ${{ !((matrix.version == '3.8' || matrix.version == '3.9') && matrix.os == 'macos-latest')}} | |
run: | | |
# stop the build if there are Python syntax errors or undefined names | |
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --exclude pyinstaller.py | |
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide | |
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --exclude pyinstaller.py | |
- name: Format with Ruff | |
if: ${{ !((matrix.version == '3.8' || matrix.version == '3.9') && matrix.os == 'macos-latest')}} | |
run: ruff format tidal_wave |