Skip to content

Commit

Permalink
Fix pre-commit attempt 2
Browse files Browse the repository at this point in the history
  • Loading branch information
nrontsis committed Oct 21, 2024
1 parent 0de353a commit ece4404
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,13 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- uses: pre-commit/[email protected]
- name: Set up Python virtual environment
run: |
python -m venv workspace/.venv # Create virtual environment in workspace/.venv
source workspace/.venv/bin/activate # Activate the virtual environment
python -m pip install --upgrade pip # Upgrade pip
pip install -r requirements.txt # Install dependencies from requirements.txt
- name: Run pre-commit
uses: pre-commit/[email protected]
with:
extra_args: '--all-files'

0 comments on commit ece4404

Please sign in to comment.