mirror of
https://github.com/katanemo/plano.git
synced 2026-05-03 12:52:56 +02:00
fix precommit
This commit is contained in:
parent
a38b5989cd
commit
4fdca97c7e
2 changed files with 11 additions and 2 deletions
11
.github/workflows/pre-commit.yml
vendored
11
.github/workflows/pre-commit.yml
vendored
|
|
@ -11,6 +11,15 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-python@v3
|
||||
- uses: pre-commit/action@v3.0.1
|
||||
with:
|
||||
python-version: "3.10"
|
||||
# Step 3: Install dependencies (from requirements.txt or Pipfile)
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m venv venv
|
||||
source venv/bin/activate
|
||||
cd model_server
|
||||
pip install --upgrade pip
|
||||
pip install -r requirements.txt # Or use pipenv install
|
||||
- uses: pre-commit/action@v3.0.1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue