Update apfl client #407
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
# only has to pass for python 3.9 | |
name: Static code checks | |
on: | |
push: | |
branches: | |
main | |
pull_request: | |
branches: | |
main | |
jobs: | |
run-code-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: 3.9 | |
cache: 'pip' | |
- name: precommit checks | |
run: | | |
pip install --upgrade pip | |
pip install $(grep -v '^torchdata\|^torchtext\|^torcheval' requirements.txt) | |
pre-commit run --all-files | |
- name: Clearing pip for space | |
run: pip uninstall -y -r requirements.txt |