Merge pull request #64 from asmove/pre-commit-ci-update-config #262
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 workflow | |
on: [push, pull_request] | |
jobs: | |
lint: | |
runs-on: ubuntu-20.04 | |
strategy: | |
max-parallel: 3 | |
fail-fast: false | |
matrix: | |
python-version: [3.6, 3.7, 3.9] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: "pip" | |
- name: "Install and run pre-commit via tox" | |
run: | | |
python -m pip install tox==3.27.1 tox-gh-actions | |
python -m tox -vv |