]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commitdiff
ci: upgrade all GitHub Actions to latest major versions
authorTobias Oetiker <tobi@oetiker.ch>
Mon, 18 May 2026 14:59:47 +0000 (16:59 +0200)
committerTobias Oetiker <tobi@oetiker.ch>
Mon, 18 May 2026 14:59:47 +0000 (16:59 +0200)
Sweep every workflow so no action trails its latest major (most also
clears the Node.js 20 deprecation warnings):

* actions/upload-artifact        v6 -> v7  (release, build-test-linux)
* johnwason/vcpkg-action         v7 -> v8  (ci-workflow; release was
                                            already bumped)
* codecov/codecov-action         v5 -> v6  (code-coverage; v6 is a
                                            pure Node.js 24 bump, the
                                            step passes no inputs)
* github/codeql-action/autobuild v3 -> v4  (commented-out template
                                            line, kept consistent with
                                            the active init/analyze@v4)

Already on their latest major, left unchanged: actions/checkout@v6,
actions/download-artifact@v8, msys2/setup-msys2@v2,
ncipollo/release-action@v1, github/codeql-action/{init,analyze}@v4.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
.github/workflows/build-test-linux.yml
.github/workflows/ci-workflow.yml
.github/workflows/code-coverage.yml
.github/workflows/codeql-analysis.yml
.github/workflows/release.yml

index 7f5ac1345dc54905ff744ea506bb857f4931e3c8..9c5a8533b7893243f29a2446284d59e81055d564 100644 (file)
@@ -41,7 +41,7 @@ jobs:
         make check TESTS_STYLE="rrdcached-tcp"
     - name: Upload rrdcached-tcp test-suite.log
       if: ${{ failure() }}
-      uses: actions/upload-artifact@v6
+      uses: actions/upload-artifact@v7
       with:
         name: rrdcached-tcp_test-suite.log
         path: tests/test-suite.log
@@ -57,7 +57,7 @@ jobs:
         podchecker doc/*.pod
     - name: Upload valgrind test-suite.log
       if: ${{ failure() }}
-      uses: actions/upload-artifact@v6
+      uses: actions/upload-artifact@v7
       with:
         name: valgrind_test-suite.log
         path: tests/test-suite.log
index d53d040527fc69264040864344f5976cd6e0f8fd..e4d6ca6447f6c8d08b83395c948d37c130b4fbad 100644 (file)
@@ -36,7 +36,7 @@ jobs:
         run: |
           echo 'Running in MSYS2!'
           ./ci-build_MSYS2.sh
-      # - uses: actions/upload-artifact@v6
+      # - uses: actions/upload-artifact@v7
       #   with:
       #     name: test-suite.log
       #     path: tests/test-suite.log
@@ -76,7 +76,7 @@ jobs:
       # vcpkg-action
       # https://github.com/johnwason/vcpkg-action
       - name: vcpkg build
-        uses: johnwason/vcpkg-action@v7
+        uses: johnwason/vcpkg-action@v8
         id: vcpkg
         with:
           pkgs: '${{ matrix.vcpkgPackages }}'
index 69ea2bb8217cd3fe50a02ffc6cfe8ed8a85ae06e..ed2db8c2358d6820955710eec86ab416d38fe2d6 100644 (file)
@@ -56,4 +56,4 @@ jobs:
         (cd src && gcov *.gcno)
         (cd src && gcov .libs/*.gcno)
     - name: Upload coverage to Codecov
-      uses: codecov/codecov-action@v5
+      uses: codecov/codecov-action@v6
index d9d7ec7faae0933b6668b271f2bd9542608122ea..b0cef3fca86fad62390867320f7f484d1fa3854e 100644 (file)
@@ -53,7 +53,7 @@ jobs:
     # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).
     # If this step fails, then you should remove it and run the build manually (see below)
 #   - name: Autobuild
-#     uses: github/codeql-action/autobuild@v3
+#     uses: github/codeql-action/autobuild@v4
 
     # â„šī¸ Command-line programs to run using the OS shell.
     # đŸ“š https://git.io/JvXDl
index 614774c866c9da96760de6f2cbdb52163f70375e..f132ca44fb1c218db0b42c83254f61581d1c8f71 100644 (file)
@@ -149,7 +149,7 @@ jobs:
           ./configure
           make dist
 
-      - uses: actions/upload-artifact@v6
+      - uses: actions/upload-artifact@v7
         with:
           name: source-tarball
           path: rrdtool-${{ needs.compute-version.outputs.version }}.tar.gz
@@ -232,7 +232,7 @@ jobs:
           (cd "$(dirname "$dir")" && 7z a -tzip "../../$zip" "$(basename "$dir")")
           ls -l "$zip"
 
-      - uses: actions/upload-artifact@v6
+      - uses: actions/upload-artifact@v7
         with:
           name: windows-${{ matrix.configuration }}
           path: rrdtool-${{ needs.compute-version.outputs.version }}-${{ matrix.configuration }}_vcpkg.zip
@@ -326,7 +326,7 @@ jobs:
           cp ~/rpmbuild/RPMS/x86_64/rrdtool-1-opt-${VERSION}-*.rpm out/
           ls -l out/
 
-      - uses: actions/upload-artifact@v6
+      - uses: actions/upload-artifact@v7
         with:
           name: rpm-${{ matrix.tag }}
           path: out/*.rpm
@@ -492,7 +492,7 @@ jobs:
               -C stage opt
           ls -l out/
 
-      - uses: actions/upload-artifact@v6
+      - uses: actions/upload-artifact@v7
         with:
           name: deb-${{ matrix.tag }}
           path: out/*.deb