Skip to content

Update versions

Update versions #60

Workflow file for this run

name: Lint
on: pull_request
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
env:
PYTHON_VERSION: '3.11'
PRECOMMIT_VERSION: '3.5.0'
jobs:
lint:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Configure Python
uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Cache pre-commit
uses: actions/cache@v3
with:
path: ~/.cache/pre-commit
key: ${{ runner.os }}-precommit-${{ hashFiles('.pre-commit-config.yaml') }}
- name: Install pre-commit
run: pip install pre-commit==${{ env.PRECOMMIT_VERSION }}
- name: Run pre-commit
run: pre-commit run --all-files