Merge pull request #163 from kokorin/feature/support-option-to-proddu… #140
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: lint | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
with: | |
fetch-depth: 2 | |
- name: Set up Python | |
uses: actions/[email protected] | |
with: | |
python-version: "3.10" | |
- name: Install pre-commit hooks | |
run: | | |
pip install -U pip==23.1.0 | |
pip install -U pre-commit==3.4.0 | |
pre-commit install | |
- name: Run pre-commit hooks | |
run: | | |
pre-commit run --all-files |