File tree 4 files changed +13
-10
lines changed
4 files changed +13
-10
lines changed Original file line number Diff line number Diff line change 20
20
submodules : True
21
21
- uses : " astral-sh/setup-uv@9f1f1fece28798fe5e7ece00f4243abe886974b2" # v3.0.0
22
22
with :
23
- version : " 0.4.15 "
23
+ version : " 0.5.2 "
24
24
enable-cache : true
25
25
- run : " ./Invoke-Uv.ps1"
26
26
- uses : " actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b" # v4.3.4
37
37
submodules : True
38
38
- uses : " astral-sh/setup-uv@9f1f1fece28798fe5e7ece00f4243abe886974b2" # v3.0.0
39
39
with :
40
- version : " 0.4.15 "
40
+ version : " 0.5.2 "
41
41
enable-cache : true
42
42
- run : " ./Invoke-Uv.ps1 sphinx-build -EaT docs _site"
43
43
- uses : " actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa" # v3.0.1
62
62
submodules : True
63
63
- uses : " astral-sh/setup-uv@9f1f1fece28798fe5e7ece00f4243abe886974b2" # v3.0.0
64
64
with :
65
- version : " 0.4.15 "
65
+ version : " 0.5.2 "
66
66
enable-cache : true
67
67
- run : " ./Invoke-Uv.ps1 ruff check --no-fix --output-format github ."
68
68
fawltydeps :
73
73
submodules : True
74
74
- uses : " astral-sh/setup-uv@9f1f1fece28798fe5e7ece00f4243abe886974b2" # v3.0.0
75
75
with :
76
- version : " 0.4.15 "
76
+ version : " 0.5.2 "
77
77
enable-cache : true
78
78
- run : " . ./dev.ps1 && iuv pre-commit run fawltydeps-src && iuv pre-commit run fawltydeps-dev"
79
79
pyright :
84
84
submodules : True
85
85
- uses : " astral-sh/setup-uv@9f1f1fece28798fe5e7ece00f4243abe886974b2" # v3.0.0
86
86
with :
87
- version : " 0.4.15 "
87
+ version : " 0.5.2 "
88
88
enable-cache : true
89
89
- run : " ./Invoke-Uv.ps1"
90
90
- uses : " jakebailey/pyright-action@3bdde3b31d26f0f1f5de051b1fbd7a536a9a4e7f" # v2.3.1
@@ -111,7 +111,7 @@ jobs:
111
111
submodules : True
112
112
- uses : " astral-sh/setup-uv@9f1f1fece28798fe5e7ece00f4243abe886974b2" # v3.0.0
113
113
with :
114
- version : " 0.4.15 "
114
+ version : " 0.5.2 "
115
115
enable-cache : true
116
116
# ! https://github.com/pytest-dev/pytest-cov/issues/479#issuecomment-1247444988
117
117
- if : startsWith(matrix.runner, 'ubuntu') && matrix.python == '3.11'
Original file line number Diff line number Diff line change 21
21
- uses : " actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332" # v4.1.7
22
22
- uses : " astral-sh/setup-uv@9f1f1fece28798fe5e7ece00f4243abe886974b2" # v3.0.0
23
23
with :
24
- version : " 0.4.15 "
24
+ version : " 0.5.2 "
25
25
enable-cache : true
26
26
- run : " ./Invoke-Uv.ps1 -Build"
27
27
- uses : actions/attest-build-provenance@5e9cb68e95676991667494a6a4e59b8a2f13e1d0 # v1.3.3
Original file line number Diff line number Diff line change 1
- 0.4.15
1
+ 0.5.2
Original file line number Diff line number Diff line change @@ -38,11 +38,14 @@ function Find-Pattern {
38
38
function Install-Uv {
39
39
<# . SYNOPSIS
40
40
Install `uv`.#>
41
- Param ([switch ]$Update )
41
+ Param (
42
+ [switch ]$Update ,
43
+ [string ]$UvVersion = (Get-Content ' .uv-version' )
44
+ )
42
45
$Env: PATH = " $HOME /.cargo/bin$ ( [System.IO.Path ]::PathSeparator) $Env: PATH "
43
46
if ($Update ) {
44
47
if (Get-Command ' uv' - ErrorAction ' Ignore' ) {
45
- try { return uv self update }
48
+ try { return uv self update $UvVersion }
46
49
catch [System.Management.Automation.NativeCommandExitException ] {}
47
50
}
48
51
if ($IsWindows ) { Invoke-RestMethod ' https://astral.sh/uv/install.ps1' | Invoke-Expression }
You can’t perform that action at this time.
0 commit comments