@@ -2,22 +2,22 @@ name: Python Tests
2
2
3
3
on :
4
4
push :
5
- branches : master
5
+ branches : [ master]
6
6
pull_request :
7
7
8
8
jobs :
9
9
build :
10
10
runs-on : ubuntu-latest
11
11
steps :
12
- - uses : actions/checkout@v3
12
+ - uses : actions/checkout@v4
13
13
with :
14
14
fetch-depth : 0
15
15
- uses : actions/setup-dotnet@v1
16
- - uses : astral-sh/setup-uv@v4
16
+ - uses : astral-sh/setup-uv@v6
17
17
- name : Build
18
18
run : uv build
19
19
- name : Upload source distribution
20
- uses : actions/upload-artifact@v3
20
+ uses : actions/upload-artifact@v4
21
21
with :
22
22
name : build-output
23
23
path : " dist/*"
@@ -26,10 +26,10 @@ jobs:
26
26
lint :
27
27
runs-on : ubuntu-latest
28
28
steps :
29
- - uses : actions/checkout@v3
29
+ - uses : actions/checkout@v4
30
30
with :
31
31
fetch-depths : 0
32
- - uses : astral-sh/setup-uv@v4
32
+ - uses : astral-sh/setup-uv@v6
33
33
- name : Install Ruff
34
34
run : uv tool install ruff
35
35
- name : Check format
@@ -46,21 +46,21 @@ jobs:
46
46
python : ['3.13', '3.12', '3.11', '3.10', '3.9', '3.8'] # pypy3
47
47
48
48
steps :
49
- - uses : actions/checkout@v3
49
+ - uses : actions/checkout@v4
50
50
51
51
- name : Setup .NET
52
52
uses : actions/setup-dotnet@v1
53
53
with :
54
54
dotnet-version : ' 6.0.x'
55
55
56
56
- name : Set up Python ${{ matrix.python }}
57
- uses : astral-sh/setup-uv@v4
57
+ uses : astral-sh/setup-uv@v6
58
58
with :
59
59
python-version : ${{ matrix.python }}
60
60
61
61
- name : Cache Mono
62
62
if : runner.os == 'Windows'
63
- uses : actions/cache@v2
63
+ uses : actions/cache@v4
64
64
with :
65
65
path : ${{ env.TEMP }}\chocolatey
66
66
key : ${{ runner.os }}-chocolatey-${{ matrix.python == 'pypy3' && '32' || '64' }}
76
76
uv pip install pytest
77
77
78
78
- name : Download wheel
79
- uses : actions/download-artifact@v3
79
+ uses : actions/download-artifact@v4
80
80
with :
81
81
name : build-output
82
82
path : dist/
96
96
97
97
steps :
98
98
- name : Download artifacts
99
- uses : actions/download-artifact@v3
99
+ uses : actions/download-artifact@v4
100
100
with :
101
101
name : build-output
102
102
path : dist/
0 commit comments