Skip to content

Commit b1781c8

Browse files
committed
pre-commit linting error
1 parent 315d104 commit b1781c8

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/pre-commit.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,10 @@ jobs:
2424
- name: Install Dependencies pip
2525
run: |
2626
python3 -m venv ~/.venvs/vals
27-
source ~/.venvs/vals/bin/activate
28-
pip3 install pre-commit
27+
~/.venvs/vals/bin/pip3 install pre-commit
28+
2929
# Validate all files in the repo
3030
- name: Run pre-commit
3131
run: |
32-
source ~/.venvs/vals/bin/activate
3332
git config --global --add safe.directory /__w/vals-operator/vals-operator
34-
pre-commit run --all-files -v || (cat /github/home/.cache/pre-commit/pre-commit.log && exit 1)
33+
~/.venvs/vals/bin/pre-commit run --all-files -v || (cat /github/home/.cache/pre-commit/pre-commit.log && exit 1)

0 commit comments

Comments
 (0)