Skip to content

ci: python-version-file not set for setup-python #6

ci: python-version-file not set for setup-python

ci: python-version-file not set for setup-python #6

Workflow file for this run

name: check
on:
push:
pull_request:
types:
- opened
- reopened
- synchronize
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: setup CPython
uses: actions/setup-python@v5
with:
cache: "pip"
cache-dependency-path: "requirements-dev.lock"
python-version-file: ".python-version"
- name: install dependencies
id: install
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.lock
- name: lint
if: ${{ always() && steps.install.outcome == 'success' }}
run: |
ruff check --output-format github .
- name: format
if: ${{ always() && steps.install.outcome == 'success' }}
run: |
ruff format --check .