diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index f2472f3193..d867511dac 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -18,4 +18,9 @@ jobs: # Install actionlint to ~/bin/, otherwise pre-commit won't be able to find the executable. GOBIN="${HOME}/bin/" go install github.com/rhysd/actionlint/cmd/actionlint@latest - - uses: pre-commit/action@v3.0.0 + - name: Run pre-commit + run: | + python3 -m venv .venv + source .venv/bin/activate + python3 -m pip install pre-commit + pre-commit run --all-files