Skip to content

Commit 72105b0

Browse files
committed
.github/workflows/*.yml: bump actions versions
Originally proposed by dependabot, but we cannot put its Markdown commit comments into ChangeLog.pdf, so reposting. Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
1 parent 0cc4bde commit 72105b0

4 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/01-make-dist-worker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343

4444
steps:
4545
- name: Checkout repository
46-
uses: actions/checkout@v5
46+
uses: actions/checkout@v6
4747
with:
4848
# NOTE: This is the unprivileged part of the GHA-01-tarballs ritual,
4949
# running potentially untrusted shell code from the PR source branch.
@@ -128,7 +128,7 @@ jobs:
128128
- name: Prepare ccache
129129
# Based on https://docs.github.com/en/actions/reference/workflows-and-actions/dependency-caching#example-using-the-cache-action example
130130
id: cache-ccache
131-
uses: actions/cache@v4
131+
uses: actions/cache@v5
132132
env:
133133
compiler: 'CC=gcc CXX=g++'
134134
cache-name: cache-ccache-${{ env.compiler }}

.github/workflows/01-make-dist.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ jobs:
104104
# We need to find the artifact URL and report it below.
105105
- name: Get Artifact URL
106106
id: get_artifact_url
107-
uses: actions/github-script@v6
107+
uses: actions/github-script@v9
108108
with:
109109
script: |
110110
const res = await github.rest.actions.listArtifactsForRepo({
@@ -136,7 +136,7 @@ jobs:
136136
# (at least 12MB as of Nov 2025).
137137
- if: env.GITHUB_REF_TYPE != 'tag' && steps.subst-github-ref-name.outputs.result != 'master'
138138
name: Delete Old Artifacts for this feature branch/PR
139-
uses: actions/github-script@v6
139+
uses: actions/github-script@v9
140140
id: delete_old_artifact_for_pr
141141
continue-on-error: true
142142
with:

.github/workflows/05-codeql.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565

6666
steps:
6767
- name: Checkout repository
68-
uses: actions/checkout@v3
68+
uses: actions/checkout@v6
6969

7070
# Using hints from https://askubuntu.com/questions/272248/processing-triggers-for-man-db
7171
- if: matrix.language == 'cpp' && matrix.os == 'ubuntu-latest'
@@ -81,7 +81,7 @@ jobs:
8181
- name: Prepare ccache
8282
# Based on https://docs.github.com/en/actions/reference/workflows-and-actions/dependency-caching#example-using-the-cache-action example
8383
id: cache-ccache
84-
uses: actions/cache@v4
84+
uses: actions/cache@v5
8585
env:
8686
cache-name: cache-ccache-${{ matrix.compiler }}-${{ matrix.NUT_SSL_VARIANTS }}-${{ matrix.NUT_USB_VARIANTS }}
8787
with:
@@ -113,7 +113,7 @@ jobs:
113113

114114
# Initializes the CodeQL tools for scanning.
115115
- name: Initialize CodeQL
116-
uses: github/codeql-action/init@v3
116+
uses: github/codeql-action/init@v4
117117
with:
118118
languages: ${{ matrix.language }}
119119
build-mode: ${{ matrix.build-mode }}
@@ -129,7 +129,7 @@ jobs:
129129
# https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
130130
- if: matrix.build-mode == 'autobuild'
131131
name: Autobuild
132-
uses: github/codeql-action/autobuild@v3
132+
uses: github/codeql-action/autobuild@v4
133133

134134
# ℹ️ Command-line programs to run using the OS shell.
135135
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -182,6 +182,6 @@ jobs:
182182
run: ccache -sv || ccache -s || echo "FAILED to read ccache info, oh well"
183183

184184
- name: Perform CodeQL Analysis
185-
uses: github/codeql-action/analyze@v3
185+
uses: github/codeql-action/analyze@v4
186186
with:
187187
category: "/language:${{matrix.language}}"

.github/workflows/08-PyNUTClient.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
fetch-depth: 0
3131
fetch-tags: true
3232
- name: Set up Python 3.13
33-
uses: actions/setup-python@v3
33+
uses: actions/setup-python@v6
3434
with:
3535
python-version: '3.13'
3636
- name: Extract python interpreter path name

0 commit comments

Comments
 (0)