mirror of
https://github.com/astral-sh/setup-uv.git
synced 2025-04-19 15:07:04 -05:00
Extract correct dir for latest
This commit is contained in:
parent
4bab96ca10
commit
5654f20383
3 changed files with 2 additions and 2 deletions
29
.github/workflows/test-windows.yml
vendored
Normal file
29
.github/workflows/test-windows.yml
vendored
Normal file
|
@ -0,0 +1,29 @@
|
|||
name: 'test-windows'
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
test-default-version:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Should not be on path
|
||||
run: |
|
||||
if (!(Get-Command -Name "uv" -ErrorAction SilentlyContinue)) {
|
||||
exit 0
|
||||
} else {
|
||||
exit 1
|
||||
}
|
||||
- name: Setup uv
|
||||
uses: ./
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- run: uv sync
|
||||
working-directory: __tests__\fixtures\uv-project
|
Loading…
Add table
Add a link
Reference in a new issue