Skip to content

Commit

Permalink
install pre-commit after activate virtual env
Browse files Browse the repository at this point in the history
  • Loading branch information
linglp committed Oct 16, 2024
1 parent 2e3d3de commit 7c0e7f8
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/aws-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,16 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Create and activate virtual environment
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'

- name: Create and activate virtual environment and install pre-commit
run: |
python3 -m venv venv
source venv/bin/activate
- name: Install dependencies
run: pip3 install pre-commit
pip3 install pre-commit
- name: Run pre-commit
run: pre-commit run --all-files
Expand Down

0 comments on commit 7c0e7f8

Please sign in to comment.