5
0
Fork 0
mirror of https://github.com/pre-commit/action.git synced 2025-11-07 10:46:56 +00:00

feat(uv): add uv as pip replacement

This commit is contained in:
Abe 2024-03-22 11:37:56 -04:00
parent 2c7b3805fd
commit 14974dc737
No known key found for this signature in database
GPG key ID: 7B605E1EB3F95000

View file

@ -8,9 +8,11 @@ inputs:
runs: runs:
using: composite using: composite
steps: steps:
- run: python -m pip install pre-commit - run: python -m pip install --upgrade uv
shell: bash shell: bash
- run: python -m pip freeze --local - run: python -m uv pip install --system pre-commit
shell: bash
- run: python -m uv pip freeze
shell: bash shell: bash
- uses: actions/cache@v4 - uses: actions/cache@v4
with: with: