CI(deps): Update dependency python to v3.13.0 #2926
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 Flake8 Code Quality | |
on: | |
push: | |
branches: | |
- grass[0-9]+ | |
pull_request: | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: | |
# Do not cancel on protected branches, like grass8 | |
${{ github.ref_protected != true }} | |
permissions: {} | |
env: | |
# renovate: datasource=python-version depName=python | |
PYTHON_VERSION: "3.13" | |
# renovate: datasource=pypi depName=flake8 | |
FLAKE8_VERSION: "7.1.1" | |
jobs: | |
flake8: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
- name: Set up Python | |
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0 | |
with: | |
python-version: ${{ env.PYTHON_VERSION }} | |
- name: Install | |
run: | | |
python -m pip install --upgrade pip pipx | |
pipx install flake8==${{ env.FLAKE8_VERSION }} | |
- name: Run Flake8 | |
run: | | |
flake8 --count --statistics --show-source --jobs="$(nproc)" . |