You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by sw...@apache.org on 2024/07/26 03:30:16 UTC

(logging-log4cxx) branch master updated: Use latest version of Github actions for CI (#399)

This is an automated email from the ASF dual-hosted git repository.

swebb2066 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4cxx.git


The following commit(s) were added to refs/heads/master by this push:
     new 30107790 Use latest version of Github actions for CI (#399)
30107790 is described below

commit 3010779001832cf4736cb4d823a9b4a957ce8d5e
Author: Stephen Webb <st...@ieee.org>
AuthorDate: Fri Jul 26 13:30:10 2024 +1000

    Use latest version of Github actions for CI (#399)
---
 .github/workflows/abi-compatibility.yml      | 4 ++--
 .github/workflows/log4cxx-cpp11.yml          | 4 ++--
 .github/workflows/log4cxx-macos.yml          | 2 +-
 .github/workflows/log4cxx-ubuntu.yml         | 4 ++--
 .github/workflows/log4cxx-windows-static.yml | 6 +++---
 .github/workflows/log4cxx-windows.yml        | 9 ++++-----
 .github/workflows/package_code.yml           | 4 ++--
 .github/workflows/sonarcloud.yml             | 4 ++--
 8 files changed, 18 insertions(+), 19 deletions(-)

diff --git a/.github/workflows/abi-compatibility.yml b/.github/workflows/abi-compatibility.yml
index 5fbdecff..f675b88f 100644
--- a/.github/workflows/abi-compatibility.yml
+++ b/.github/workflows/abi-compatibility.yml
@@ -32,7 +32,7 @@ jobs:
       fail-fast: false
 
     steps:
-    - uses: actions/checkout@v2
+    - uses: actions/checkout@v4
       with:
         persist-credentials: false # do not persist auth token in the local git config
         path: main
@@ -58,7 +58,7 @@ jobs:
         cp $(find . -name compat_report.html) .
         cp $(find . -name new-abi.dump) .
 
-    - uses: actions/upload-artifact@v2
+    - uses: actions/upload-artifact@v4
       if: always()
       with:
         name: abi_info
diff --git a/.github/workflows/log4cxx-cpp11.yml b/.github/workflows/log4cxx-cpp11.yml
index 0474ca5f..adfc3226 100644
--- a/.github/workflows/log4cxx-cpp11.yml
+++ b/.github/workflows/log4cxx-cpp11.yml
@@ -22,7 +22,7 @@ jobs:
     runs-on: ubuntu-20.04
     timeout-minutes: 38
     steps:
-    - uses: actions/checkout@v3
+    - uses: actions/checkout@v4
       with:
         persist-credentials: false # do not persist auth token in the local git config
         path: main
@@ -45,5 +45,5 @@ jobs:
       run: |
         cd main
         cd build
-        ctest -C Debug --output-on-failure -V
+        ctest -C Debug --output-on-failure
 
diff --git a/.github/workflows/log4cxx-macos.yml b/.github/workflows/log4cxx-macos.yml
index c130aa67..a08af12d 100644
--- a/.github/workflows/log4cxx-macos.yml
+++ b/.github/workflows/log4cxx-macos.yml
@@ -38,7 +38,7 @@ jobs:
             qt: OFF
 
     steps:
-    - uses: actions/checkout@v3
+    - uses: actions/checkout@v4
       with:
         persist-credentials: false # do not persist auth token in the local git config
         path: main
diff --git a/.github/workflows/log4cxx-ubuntu.yml b/.github/workflows/log4cxx-ubuntu.yml
index 7df025ba..104285e5 100644
--- a/.github/workflows/log4cxx-ubuntu.yml
+++ b/.github/workflows/log4cxx-ubuntu.yml
@@ -60,7 +60,7 @@ jobs:
             exitevents: OFF
 
     steps:
-    - uses: actions/checkout@v3
+    - uses: actions/checkout@v4
       with:
         persist-credentials: false # do not persist auth token in the local git config
         path: main
@@ -95,4 +95,4 @@ jobs:
       run: |
         cd main
         cd build
-        ctest -C Debug --output-on-failure -V
+        ctest -C Debug --output-on-failure
diff --git a/.github/workflows/log4cxx-windows-static.yml b/.github/workflows/log4cxx-windows-static.yml
index 2285daeb..38a09ec5 100644
--- a/.github/workflows/log4cxx-windows-static.yml
+++ b/.github/workflows/log4cxx-windows-static.yml
@@ -32,7 +32,7 @@ jobs:
             os: windows-2022
 
     steps:
-    - uses: actions/checkout@v3
+    - uses: actions/checkout@v4
       with:
         persist-credentials: false # do not persist auth token in the local git config
         path: main
@@ -46,7 +46,7 @@ jobs:
 
     - name: 'Checkout VCPKG'
       if: steps.restore-vcpkg-cache.outputs.cache-hit != 'true'
-      uses: actions/checkout@v3
+      uses: actions/checkout@v4
       with:
         repository: microsoft/vcpkg
         path: vcpkg
@@ -83,6 +83,6 @@ jobs:
       run: |
         cd main
         cd build
-        ctest -C Debug --output-on-failure -V
+        ctest -C Debug --output-on-failure
 
 
diff --git a/.github/workflows/log4cxx-windows.yml b/.github/workflows/log4cxx-windows.yml
index 38625ca6..69ae88bd 100644
--- a/.github/workflows/log4cxx-windows.yml
+++ b/.github/workflows/log4cxx-windows.yml
@@ -32,21 +32,21 @@ jobs:
             os: windows-2022
 
     steps:
-    - uses: actions/checkout@v3
+    - uses: actions/checkout@v4
       with:
         persist-credentials: false # do not persist auth token in the local git config
         path: main
 
     - name: 'Restore Prebuilt Dependencies'
       id: restore-vcpkg-cache
-      uses: actions/cache@v3
+      uses: actions/cache@v4
       with:
         path: vcpkg
         key: ${{ runner.os }}-${{ matrix.name }}-cache-x64
 
     - name: 'Checkout VCPKG'
       if: steps.restore-vcpkg-cache.outputs.cache-hit != 'true'
-      uses: actions/checkout@v3
+      uses: actions/checkout@v4
       with:
         repository: microsoft/vcpkg
         path: vcpkg
@@ -83,5 +83,4 @@ jobs:
       run: |
         cd main
         cd build
-        ctest -C Debug --output-on-failure -V
-
+        ctest -C Debug --output-on-failure
diff --git a/.github/workflows/package_code.yml b/.github/workflows/package_code.yml
index bfa1518a..bd8ef316 100644
--- a/.github/workflows/package_code.yml
+++ b/.github/workflows/package_code.yml
@@ -31,7 +31,7 @@ jobs:
       fail-fast: false
 
     steps:
-    - uses: actions/checkout@v2
+    - uses: actions/checkout@v4
       with:
         persist-credentials: false # do not persist auth token in the local git config
         path: clean-checkout
@@ -60,7 +60,7 @@ jobs:
         sha512sum "apache-log4cxx-$VERSION.zip" > "apache-log4cxx-$VERSION.zip.sha512"
         sha256sum "apache-log4cxx-$VERSION.zip" > "apache-log4cxx-$VERSION.zip.sha256"
 
-    - uses: actions/upload-artifact@v2
+    - uses: actions/upload-artifact@v4
       if: always()
       with:
         name: 'Upload release files'
diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml
index 41945fa5..f2d5a732 100644
--- a/.github/workflows/sonarcloud.yml
+++ b/.github/workflows/sonarcloud.yml
@@ -32,7 +32,7 @@ jobs:
       SONAR_SERVER_URL: "https://sonarcloud.io"
       BUILD_WRAPPER_OUT_DIR: build_wrapper_output_directory # Directory where build-wrapper output will be placed
     steps:
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v4
         with:
           persist-credentials: false # do not persist auth token in the local git config
           fetch-depth: 0  # Shallow clones should be disabled for a better relevancy of analysis
@@ -44,7 +44,7 @@ jobs:
           java-version: 17
 
       - name: Set up Python 3.8 for gcovr
-        uses: actions/setup-python@v2
+        uses: actions/setup-python@v5
         with:
           python-version: 3.8