File tree Expand file tree Collapse file tree 2 files changed +12
-11
lines changed Expand file tree Collapse file tree 2 files changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ jobs:
11
11
runs-on : ubuntu-latest
12
12
13
13
steps :
14
- - uses : actions/checkout@v3
14
+ - uses : actions/checkout@v4
15
15
16
16
- name : Install Python Dependencies
17
- uses : HassanAbouelela/actions/setup-python@setup-python_v1.4.0
17
+ uses : HassanAbouelela/actions/setup-python@setup-python_v1.4.2
18
18
with :
19
19
python_version : " 3.11"
20
20
install_args : " --extras async-rediscache --only main --only doc"
23
23
run : sphinx-build -nW -j auto -b html docs docs/build
24
24
25
25
- name : Upload Build Artifact
26
- uses : actions/upload-artifact@v3
26
+ uses : actions/upload-artifact@v4
27
27
with :
28
28
name : docs-latest
29
29
path : docs/build/*
@@ -33,12 +33,12 @@ jobs:
33
33
runs-on : ubuntu-latest
34
34
35
35
steps :
36
- - uses : actions/checkout@v3
36
+ - uses : actions/checkout@v4
37
37
with :
38
38
fetch-depth : 0 # We need to check out the entire repository to find all tags
39
39
40
40
- name : Install Python Dependencies
41
- uses : HassanAbouelela/actions/setup-python@setup-python_v1.4.0
41
+ uses : HassanAbouelela/actions/setup-python@setup-python_v1.4.2
42
42
with :
43
43
python_version : " 3.11"
44
44
install_args : " --extras async-rediscache"
55
55
rm -r docs/build/**/.doctrees
56
56
57
57
- name : Upload Build Artifact
58
- uses : actions/upload-artifact@v3
58
+ uses : actions/upload-artifact@v4
59
59
with :
60
60
name : docs
61
61
path : docs/build/*
Original file line number Diff line number Diff line change 9
9
fail-fast : false
10
10
matrix :
11
11
python_version : ["3.10", "3.11"]
12
+
12
13
name : Run Linting & Test Suites
13
14
runs-on : ubuntu-latest
14
15
steps :
15
16
- name : Install Python Dependencies
16
- uses : HassanAbouelela/actions/setup-python@setup-python_v1.4.0
17
+ uses : HassanAbouelela/actions/setup-python@setup-python_v1.4.2
17
18
with :
18
19
python_version : ${{ matrix.python_version }}
19
20
install_args : " --extras async-rediscache --only main --only lint --only test"
39
40
id : prepare-artifact
40
41
if : always() && github.event_name == 'pull_request'
41
42
continue-on-error : true
42
- run : cat $GITHUB_EVENT_PATH | jq '.pull_request' > pull_request_payload.json
43
+ run : cat $GITHUB_EVENT_PATH | jq '.pull_request' > pull_request_payload${{ matrix.python_version }} .json
43
44
44
45
# This only makes sense if the previous step succeeded. To
45
46
# get the original outcome of the previous step before the
48
49
- name : Upload a Build Artifact
49
50
if : always() && steps.prepare-artifact.outcome == 'success'
50
51
continue-on-error : true
51
- uses : actions/upload-artifact@v3
52
+ uses : actions/upload-artifact@v4
52
53
with :
53
- name : pull-request-payload
54
- path : pull_request_payload.json
54
+ name : pull-request-payload-${{ matrix.python_version }}
55
+ path : pull_request_payload${{ matrix.python_version }} .json
You can’t perform that action at this time.
0 commit comments