Skip to content

Sync

Sync #34

Workflow file for this run

name: lint
on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install pre-commit hook
run: |
sudo apt update
sudo apt install -y ruby
pip install pre-commit==3.8.0
pre-commit install
- name: Linting
run: pre-commit run --all-files