Commit 5d61c5a3 for xz
commit 5d61c5a3cf3be88b16179900ac5be82011a3a6bb
Author: Salman Muin Kayser Chishti <13schishti@gmail.com>
Date: Sat Feb 28 09:10:46 2026 +0000
CI: Upgrade GitHub Actions for Node 24 compatibility
Signed-off-by: Salman Muin Kayser Chishti <13schishti@gmail.com>
Closes: https://github.com/tukaani-project/xz/pull/212
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 08fff6e2..f5438914 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -29,7 +29,7 @@ jobs:
runs-on: ${{ matrix.os }}
timeout-minutes: 20
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v6
########################
# Install Dependencies #
@@ -164,7 +164,7 @@ jobs:
run: ./build-aux/ci_build.bash -b ${{ matrix.build_system }} -d small -p test -n small
# Attempt to upload the test logs as artifacts if any step has failed
- - uses: actions/upload-artifact@v4
+ - uses: actions/upload-artifact@v7
if: ${{ failure() }}
with:
name: ${{ matrix.os }} ${{ matrix.build_system }} Test Logs
diff --git a/.github/workflows/cifuzz.yml b/.github/workflows/cifuzz.yml
index c6b0c067..831b9c86 100644
--- a/.github/workflows/cifuzz.yml
+++ b/.github/workflows/cifuzz.yml
@@ -48,7 +48,7 @@ jobs:
report-ooms: true
- name: Upload Crash
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
if: failure() && steps.build.outcome == 'success'
with:
name: ${{ matrix.sanitizer }}-artifacts
diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml
index 0d669ca7..579ac559 100644
--- a/.github/workflows/coverity.yml
+++ b/.github/workflows/coverity.yml
@@ -12,7 +12,7 @@ jobs:
coverity:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v6
- name: Install dependencies
run: |
diff --git a/.github/workflows/dragonflybsd.yml b/.github/workflows/dragonflybsd.yml
index 6a2577d6..ebbdc905 100644
--- a/.github/workflows/dragonflybsd.yml
+++ b/.github/workflows/dragonflybsd.yml
@@ -17,7 +17,7 @@ jobs:
timeout-minutes: 10
name: DragonFly BSD
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v6
- name: Test in DragonFly BSD
id: test
diff --git a/.github/workflows/freebsd.yml b/.github/workflows/freebsd.yml
index 54ee527a..7f5f2f79 100644
--- a/.github/workflows/freebsd.yml
+++ b/.github/workflows/freebsd.yml
@@ -34,7 +34,7 @@ jobs:
name: FreeBSD
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v6
- name: Test in FreeBSD
uses: vmactions/freebsd-vm@670398e4236735b8b65805c3da44b7a511fb8b27 #v1.3.0
diff --git a/.github/workflows/msvc.yml b/.github/workflows/msvc.yml
index 141cb53c..5b0e72ba 100644
--- a/.github/workflows/msvc.yml
+++ b/.github/workflows/msvc.yml
@@ -24,7 +24,7 @@ jobs:
timeout-minutes: 10
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v6
- name: Configure Win32
run: >
diff --git a/.github/workflows/msys2.yml b/.github/workflows/msys2.yml
index bbce50bd..50630719 100644
--- a/.github/workflows/msys2.yml
+++ b/.github/workflows/msys2.yml
@@ -78,7 +78,7 @@ jobs:
# text file and will not match the output from xzgrep.
run: git config --global core.autocrlf false
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v6
- name: CMake (full, shared)
run: |
@@ -137,7 +137,7 @@ jobs:
make -j"$(nproc)" check
# Upload the test logs as artifacts if any step has failed.
- - uses: actions/upload-artifact@v4
+ - uses: actions/upload-artifact@v7
if: failure()
with:
name: test-logs-${{ matrix.sys }}
diff --git a/.github/workflows/netbsd.yml b/.github/workflows/netbsd.yml
index d317ca30..dfc68424 100644
--- a/.github/workflows/netbsd.yml
+++ b/.github/workflows/netbsd.yml
@@ -17,7 +17,7 @@ jobs:
timeout-minutes: 10
name: NetBSD
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v6
- name: Test in NetBSD
id: test
diff --git a/.github/workflows/openbsd.yml b/.github/workflows/openbsd.yml
index 47ce568c..b0291d80 100644
--- a/.github/workflows/openbsd.yml
+++ b/.github/workflows/openbsd.yml
@@ -17,7 +17,7 @@ jobs:
timeout-minutes: 10
name: OpenBSD
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v6
- name: Test in OpenBSD
uses: vmactions/openbsd-vm@2e29de1eb150dfe1c9c97b84ff2b7896f14ca690 #v1.2.5
diff --git a/.github/workflows/solaris.yml b/.github/workflows/solaris.yml
index 50fae097..b7e273b3 100644
--- a/.github/workflows/solaris.yml
+++ b/.github/workflows/solaris.yml
@@ -17,7 +17,7 @@ jobs:
timeout-minutes: 10
name: Solaris
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v6
- name: Test in Solaris
uses: vmactions/solaris-vm@47bea106d03acaf91084e52548ee460556011602 #v1.1.8