Skip to content

Commit 8126f4b

Browse files
[ci] Update used actions (deps)
Admittedly, I just updated them to the latest version without checking the change logs for breaking changes. * .github/actions/setup/action.yml * .github/workflows/ci.yml * .github/workflows/publish-docs.yml
1 parent 0af4f72 commit 8126f4b

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

.github/actions/setup/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ runs:
3434
shell: bash
3535

3636
- name: setup python
37-
uses: actions/setup-python@v4
37+
uses: actions/setup-python@v5
3838
if: inputs.cache-python == 'true'
3939
with:
4040
python-version: ${{ inputs.python-version }}
4141
cache: "pip"
4242

4343
- name: setup python
44-
uses: actions/setup-python@v4
44+
uses: actions/setup-python@v5
4545
if: inputs.cache-python != 'true'
4646
with:
4747
python-version: ${{ inputs.python-version }}
@@ -69,7 +69,7 @@ runs:
6969
shell: bash
7070
- name: Configure Caching for Pre-Commit
7171
if: ${{ inputs.setup-pre-commit == 'true' }}
72-
uses: actions/cache@v3
72+
uses: actions/cache@v4
7373
with:
7474
path: ~/.cache/pre-commit
7575
key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}

.github/workflows/ci.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout
13-
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
13+
uses: actions/checkout@v4
1414

1515
- name: Setup
1616
id: setup
@@ -41,7 +41,7 @@ jobs:
4141
# Upload changed files on pre-commit error
4242
- name: Upload changed files
4343
if: ${{ failure() && steps.changed-files.outputs.files }}
44-
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
44+
uses: actions/upload-artifact@v4
4545
with:
4646
name: Files modified by pre-commit
4747
path: ${{ steps.changed-files.outputs.files }}
@@ -52,10 +52,10 @@ jobs:
5252
matrix: ${{ steps.set-matrix.outputs.matrix }}
5353
steps:
5454
- name: Checkout
55-
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
55+
uses: actions/checkout@v4
5656

5757
- name: setup python
58-
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
58+
uses: actions/setup-python@v5
5959
with:
6060
python-version: "3.11"
6161

@@ -84,7 +84,7 @@ jobs:
8484
fail-fast: false
8585
steps:
8686
- name: Checkout
87-
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
87+
uses: actions/checkout@v4
8888

8989
- name: Setup
9090
id: setup
@@ -96,14 +96,14 @@ jobs:
9696
run: make test
9797

9898
# Upload summary of test results
99-
- uses: test-summary/action@v2.1
99+
- uses: test-summary/action@31493c76ec9e7aa675f1585d3ed6f1da69269a86 # v2.4
100100
if: failure() || success()
101101
with:
102102
paths: report.xml
103103

104104
# Upload coverage to job summary
105105
- name: Summarize coverage
106-
uses: livewing/lcov-job-summary@0a9952db27f98def2ba2de3189c6b24acc4c5501 # v1.1.0
106+
uses: livewing/lcov-job-summary@28126fb20073f4624d0f8e2c6f4afbe1c0670cbb # v1.2.0
107107
if: matrix.extras == 'all' && (failure() || success())
108108
with:
109109
lcov: coverage.lcov
@@ -112,7 +112,7 @@ jobs:
112112
runs-on: ubuntu-latest
113113
steps:
114114
- name: Checkout
115-
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
115+
uses: actions/checkout@v4
116116

117117
- name: Setup
118118
id: setup
@@ -126,7 +126,7 @@ jobs:
126126

127127
# Upload build
128128
- name: Upload build
129-
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
129+
uses: actions/upload-artifact@v4
130130
with:
131131
name: Docs
132132
path: docs/build

.github/workflows/publish-docs.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
steps:
3030
# Checkout current ref to get the current version of the build script
3131
- name: Checkout
32-
uses: actions/checkout@v3
32+
uses: actions/checkout@v4
3333

3434
# Install poetry
3535
- name: Install poetry
@@ -41,7 +41,7 @@ jobs:
4141
run: echo venv_path="$(poetry config virtualenvs.path)" >> $GITHUB_ENV
4242

4343
- name: Retrieve cache
44-
uses: actions/cache/restore@v3
44+
uses: actions/cache/restore@v4
4545
id: cache-restore
4646
with:
4747
path: ${{ env.venv_path }}
@@ -57,7 +57,7 @@ jobs:
5757

5858
# Configure pages provides deployment URL
5959
- name: Setup Pages
60-
uses: actions/configure-pages@v3
60+
uses: actions/configure-pages@v5
6161

6262
# Prepare
6363
- name: Fetch tags and branches
@@ -83,7 +83,7 @@ jobs:
8383
echo 'cache_key=publish-docs|poetry|'"$(find ${{ env.venv_path }} -type f -exec sha256sum {} \; | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
8484
8585
- name: Upload new cache
86-
uses: actions/cache/save@v3
86+
uses: actions/cache/save@v4
8787
continue-on-error: true
8888
if: steps.cache-restore.outputs.cache-matched-key != env.cache_key
8989
with:
@@ -92,12 +92,12 @@ jobs:
9292

9393
# Upload built docs
9494
- name: Upload build artifact
95-
uses: actions/upload-pages-artifact@v1
95+
uses: actions/upload-pages-artifact@v3
9696
with:
9797
path: "build"
9898
retention-days: 7
9999

100100
# Deploy uploaded artifact
101101
- name: Deploy to GitHub Pages
102102
id: deployment
103-
uses: actions/deploy-pages@v2
103+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)