mirror of
https://github.com/astral-sh/setup-uv.git
synced 2025-04-07 07:58:48 -04:00
revert uv-cache-hit
This commit is contained in:
parent
c897c56b99
commit
db2faa91da
2 changed files with 0 additions and 21 deletions
19
.github/workflows/test.yml
vendored
19
.github/workflows/test.yml
vendored
|
@ -35,25 +35,6 @@ jobs:
|
||||||
uses: ./
|
uses: ./
|
||||||
- run: uv sync
|
- run: uv sync
|
||||||
working-directory: __tests__/fixtures/uv-project
|
working-directory: __tests__/fixtures/uv-project
|
||||||
test-default-version-cache: # https://github.com/astral-sh/setup-uv/issues/171
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
os: [ubuntu-latest, macos-latest, macos-14]
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: Install latest version
|
|
||||||
uses: ./
|
|
||||||
- name: Re-run setup-uv
|
|
||||||
id: re-setup-uv
|
|
||||||
uses: ./
|
|
||||||
- name: Verify uv cache hit
|
|
||||||
run: |
|
|
||||||
if [ "$UV_CACHE_HIT" != "true" ]; then
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
env:
|
|
||||||
UV_CACHE_HIT: ${{ steps.re-setup-uv.outputs.uv-cache-hit }}
|
|
||||||
test-specific-version:
|
test-specific-version:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
|
|
|
@ -47,8 +47,6 @@ inputs:
|
||||||
outputs:
|
outputs:
|
||||||
uv-version:
|
uv-version:
|
||||||
description: "The installed uv version. Useful when using latest."
|
description: "The installed uv version. Useful when using latest."
|
||||||
uv-cache-hit:
|
|
||||||
description: "A boolean value to indicate a cache entry for uv was found"
|
|
||||||
cache-hit:
|
cache-hit:
|
||||||
description: "A boolean value to indicate a cache entry was found"
|
description: "A boolean value to indicate a cache entry was found"
|
||||||
runs:
|
runs:
|
||||||
|
|
Loading…
Add table
Reference in a new issue