Merge pull request #102 from naved001/update-resource-limits #222
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 | |
on: | |
push: | |
pull_request: | |
jobs: | |
run-linters: | |
name: Pre-commit | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Set up python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- name: Install pre-commit | |
run: | | |
pip install pre-commit | |
- name: Install dependencies | |
run: | | |
pip install -r requirements.txt | |
pip install -r test-requirements.txt | |
- name: Run pre-commit | |
run: | | |
pre-commit run --all-files |