Skip to content

Commit e8fe2d3

Browse files
committed
Update GitHub Actions
CodeQL Action v2 was discontinued last year: https://github.blog/changelog/2025-01-10-code-scanning-codeql-action-v2-is-now-deprecated Other deprecated Node.js 20 actions may not work after June 16th, 2026: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners `security-events` permission is required by the CodeQL action Signed-off-by: xxyzz <gitpull@protonmail.com>
1 parent 2f55bae commit e8fe2d3

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

.github/workflows/check.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Check out
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@v6
1818
- name: Install build-dependencies
1919
run: sudo ./ci/builddeps.sh
2020
- name: Enable user namespaces
@@ -71,7 +71,7 @@ jobs:
7171
test ! -e DESTDIR-as-subproject/usr/local/libexec/bwrap
7272
tests/use-as-subproject/assert-correct-rpath.py DESTDIR-as-subproject/usr/local/libexec/not-flatpak-bwrap
7373
- name: Upload test logs
74-
uses: actions/upload-artifact@v4
74+
uses: actions/upload-artifact@v7
7575
if: failure() || cancelled()
7676
with:
7777
name: test logs
@@ -80,18 +80,20 @@ jobs:
8080
clang:
8181
name: Build with clang and analyze
8282
runs-on: ubuntu-latest
83+
permissions:
84+
security-events: write
8385
strategy:
8486
fail-fast: false
8587
matrix:
8688
language:
8789
- cpp
8890
steps:
8991
- name: Initialize CodeQL
90-
uses: github/codeql-action/init@v2
92+
uses: github/codeql-action/init@v4
9193
with:
9294
languages: ${{ matrix.language }}
9395
- name: Check out
94-
uses: actions/checkout@v4
96+
uses: actions/checkout@v6
9597
- name: Install build-dependencies
9698
run: sudo ./ci/builddeps.sh --clang
9799
- run: meson build -Dselinux=enabled
@@ -102,4 +104,4 @@ jobs:
102104
-Werror=unused-variable
103105
- run: meson compile -C build
104106
- name: CodeQL analysis
105-
uses: github/codeql-action/analyze@v2
107+
uses: github/codeql-action/analyze@v4

0 commit comments

Comments
 (0)