Skip to content

Commit ab5f228

Browse files
committed
.github/workflows/*.yml: bump actions versions [networkupstools/nut#3466]
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
1 parent 292612e commit ab5f228

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

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

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

4545
steps:
4646
- name: Checkout repository
47-
uses: actions/checkout@v5
47+
uses: actions/checkout@v6
4848
with:
4949
# NOTE: This is the unprivileged part of the GHA-01-tarballs ritual,
5050
# running potentially untrusted shell code from the PR source branch.
@@ -102,7 +102,7 @@ jobs:
102102
- name: Prepare ccache
103103
# Based on https://docs.github.com/en/actions/reference/workflows-and-actions/dependency-caching#example-using-the-cache-action example
104104
id: cache-ccache
105-
uses: actions/cache@v4
105+
uses: actions/cache@v5
106106
env:
107107
compiler: 'CC=gcc CXX=g++'
108108
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 300KB 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
@@ -48,7 +48,7 @@ jobs:
4848

4949
steps:
5050
- name: Checkout repository
51-
uses: actions/checkout@v3
51+
uses: actions/checkout@v6
5252

5353
# Using hints from https://askubuntu.com/questions/272248/processing-triggers-for-man-db
5454
- if: matrix.language == 'cpp' && matrix.os == 'ubuntu-latest'
@@ -64,7 +64,7 @@ jobs:
6464
- name: Prepare ccache
6565
# Based on https://docs.github.com/en/actions/reference/workflows-and-actions/dependency-caching#example-using-the-cache-action example
6666
id: cache-ccache
67-
uses: actions/cache@v4
67+
uses: actions/cache@v5
6868
env:
6969
cache-name: cache-ccache-${{ matrix.nutsrc }}-${{ matrix.compiler }}
7070
with:
@@ -122,7 +122,7 @@ jobs:
122122
123123
# Initializes the CodeQL tools for scanning.
124124
- name: Initialize CodeQL
125-
uses: github/codeql-action/init@v3
125+
uses: github/codeql-action/init@v4
126126
with:
127127
languages: ${{ matrix.language }}
128128
build-mode: ${{ matrix.build-mode }}
@@ -137,7 +137,7 @@ jobs:
137137
# https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
138138
- if: matrix.build-mode == 'autobuild'
139139
name: Autobuild
140-
uses: github/codeql-action/autobuild@v3
140+
uses: github/codeql-action/autobuild@v4
141141
env:
142142
### Avoid installing obsolete libupsclient-dev
143143
CODEQL_EXTRACTOR_CPP_AUTOINSTALL_DEPENDENCIES: false
@@ -176,6 +176,6 @@ jobs:
176176
run: ccache -sv || ccache -s || echo "FAILED to read ccache info, oh well"
177177

178178
- name: Perform CodeQL Analysis
179-
uses: github/codeql-action/analyze@v3
179+
uses: github/codeql-action/analyze@v4
180180
with:
181181
category: "/language:${{matrix.language}}"

0 commit comments

Comments
 (0)