1
0
mirror of https://github.com/google/benchmark.git synced 2025-03-28 21:10:58 +08:00

Fix pre-commit GitHub Actions job ()

For some reason, editable pip installs are now broken, which means that
they will break the pre-commit workflow due to the `pip install -e .`
instruction.

Since the normal install is unaffected, we can just drop the `-e` switch.
It does not matter which mode is used, since the environment is only
used for linting.
This commit is contained in:
Nicholas Junge 2023-12-07 10:41:34 +01:00 committed by GitHub
parent 1e96bb0ab5
commit 68689bf966
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
pip install ".[dev]"
- name: Cache pre-commit tools
uses: actions/cache@v3
with: