Skip to content

Commit 3dde1d2

Browse files
committed
Update CI action versions
1 parent 7d306e6 commit 3dde1d2

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

.github/workflows/docs.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515

1616
- 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
1818
with:
1919
python_version: "3.11"
2020
install_args: "--extras async-rediscache --only main --only doc"
@@ -23,7 +23,7 @@ jobs:
2323
run: sphinx-build -nW -j auto -b html docs docs/build
2424

2525
- name: Upload Build Artifact
26-
uses: actions/upload-artifact@v3
26+
uses: actions/upload-artifact@v4
2727
with:
2828
name: docs-latest
2929
path: docs/build/*
@@ -33,12 +33,12 @@ jobs:
3333
runs-on: ubuntu-latest
3434

3535
steps:
36-
- uses: actions/checkout@v3
36+
- uses: actions/checkout@v4
3737
with:
3838
fetch-depth: 0 # We need to check out the entire repository to find all tags
3939

4040
- 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
4242
with:
4343
python_version: "3.11"
4444
install_args: "--extras async-rediscache"
@@ -55,7 +55,7 @@ jobs:
5555
rm -r docs/build/**/.doctrees
5656
5757
- name: Upload Build Artifact
58-
uses: actions/upload-artifact@v3
58+
uses: actions/upload-artifact@v4
5959
with:
6060
name: docs
6161
path: docs/build/*

.github/workflows/lint-test.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@ jobs:
99
fail-fast: false
1010
matrix:
1111
python_version: ["3.10", "3.11"]
12+
1213
name: Run Linting & Test Suites
1314
runs-on: ubuntu-latest
1415
steps:
1516
- 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
1718
with:
1819
python_version: ${{ matrix.python_version }}
1920
install_args: "--extras async-rediscache --only main --only lint --only test"
@@ -39,7 +40,7 @@ jobs:
3940
id: prepare-artifact
4041
if: always() && github.event_name == 'pull_request'
4142
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
4344

4445
# This only makes sense if the previous step succeeded. To
4546
# get the original outcome of the previous step before the
@@ -48,7 +49,7 @@ jobs:
4849
- name: Upload a Build Artifact
4950
if: always() && steps.prepare-artifact.outcome == 'success'
5051
continue-on-error: true
51-
uses: actions/upload-artifact@v3
52+
uses: actions/upload-artifact@v4
5253
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

0 commit comments

Comments
 (0)