@@ -26,14 +26,14 @@ jobs:
26
26
run_benchmark :
27
27
runs-on : ubuntu-latest
28
28
steps :
29
- - uses : actions/cache@v3.3.2
29
+ - uses : actions/cache@v4
30
30
with :
31
31
path : ~/.cache/pip
32
32
key : ${{ runner.os }}-pip-${{ hashFiles('tests/requirements.txt') }}
33
33
restore-keys : |
34
34
${{ runner.os }}-pip-
35
35
- uses : actions/checkout@v4
36
- - uses : actions/setup-python@v4
36
+ - uses : actions/setup-python@v5
37
37
with :
38
38
python-version : ' 3.12'
39
39
- name : Cythonize
@@ -44,49 +44,49 @@ jobs:
44
44
run : pip install -r benchmark/requirements.txt
45
45
- name : Run benchmark
46
46
run : python benchmark/main.py
47
- - uses : actions/upload-artifact@v3
47
+ - uses : actions/upload-artifact@v4
48
48
with :
49
49
name : benchmark_table
50
50
path : examples/benchmark_table.md
51
- - uses : actions/upload-artifact@v3
51
+ - uses : actions/upload-artifact@v4
52
52
with :
53
53
name : benchmark_chart_light
54
54
path : docs/benchmark_chart_light.svg
55
- - uses : actions/upload-artifact@v3
55
+ - uses : actions/upload-artifact@v4
56
56
with :
57
57
name : benchmark_chart_dark
58
58
path : docs/benchmark_chart_dark.svg
59
59
upload_doc :
60
60
needs : [run_benchmark]
61
61
runs-on : ubuntu-latest
62
62
steps :
63
- - uses : actions/cache@v3.3.2
63
+ - uses : actions/cache@v4
64
64
with :
65
65
path : ~/.cache/pip
66
66
key : ${{ runner.os }}-pip-${{ hashFiles('tests/requirements.txt') }}
67
67
restore-keys : |
68
68
${{ runner.os }}-pip-
69
69
- uses : actions/checkout@v4
70
- - uses : actions/setup-python@v4
70
+ - uses : actions/setup-python@v5
71
71
with :
72
72
python-version : ' 3.12'
73
- - uses : actions/download-artifact@v3
73
+ - uses : actions/download-artifact@v4
74
74
with :
75
75
name : benchmark_table
76
76
path : examples
77
- - uses : actions/download-artifact@v3
77
+ - uses : actions/download-artifact@v4
78
78
with :
79
79
name : benchmark_chart_light
80
80
path : docs
81
- - uses : actions/download-artifact@v3
81
+ - uses : actions/download-artifact@v4
82
82
with :
83
83
name : benchmark_chart_dark
84
84
path : docs
85
85
- name : Install requirements
86
86
run : pip install -r docs/requirements.txt
87
87
- name : Build documentation
88
88
run : mkdocs build
89
- - uses : actions/upload-artifact@v3
89
+ - uses : actions/upload-artifact@v4
90
90
with :
91
91
name : documentation
92
92
path : site/**
@@ -95,26 +95,26 @@ jobs:
95
95
runs-on : ubuntu-latest
96
96
if : github.event_name == 'push' || github.event_name == 'release'
97
97
steps :
98
- - uses : actions/cache@v3.3.2
98
+ - uses : actions/cache@v4
99
99
with :
100
100
path : ~/.cache/pip
101
101
key : ${{ runner.os }}-pip-${{ hashFiles('tests/requirements.txt') }}
102
102
restore-keys : |
103
103
${{ runner.os }}-pip-
104
104
- uses : actions/checkout@v4
105
- - uses : actions/setup-python@v4
105
+ - uses : actions/setup-python@v5
106
106
with :
107
107
# TODO bump to 3.12 when mike will support it
108
108
python-version : ' 3.11'
109
- - uses : actions/download-artifact@v3
109
+ - uses : actions/download-artifact@v4
110
110
with :
111
111
name : benchmark_table
112
112
path : examples
113
- - uses : actions/download-artifact@v3
113
+ - uses : actions/download-artifact@v4
114
114
with :
115
115
name : benchmark_chart_light
116
116
path : docs
117
- - uses : actions/download-artifact@v3
117
+ - uses : actions/download-artifact@v4
118
118
with :
119
119
name : benchmark_chart_dark
120
120
path : docs
@@ -149,4 +149,3 @@ jobs:
149
149
git add versions.json
150
150
git commit -m "sort versions.json"
151
151
git push origin gh-pages
152
-
0 commit comments