Merge pull request #101 from singlestore-labs/tim/add-lesson-areas #509
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: pre-commit checks | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
check: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pre-commit==3.3 | |
- name: Analysing the code with pre-commit checks | |
run: | | |
pre-commit run --all-files |