Ele 238 teams integration (by Frank Tubbing) #1579
Workflow file for this run
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: Run pre-commit hooks | |
on: | |
workflow_dispatch: | |
pull_request: | |
jobs: | |
code-quality: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Elementary | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/[email protected] | |
with: | |
python-version: "3.8" | |
# mainly needed so mypy will have the dependencies it needs | |
- name: Install elementary | |
run: pip install -e . | |
- name: Install dev requirements | |
run: pip install -r dev-requirements.txt | |
- name: Run pre-commit hooks | |
run: pre-commit run --all-files --show-diff-on-failure |