]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commitdiff
Update GitHub Actions 1263/head
authorWolfgang Stöggl <c72578@yahoo.de>
Sat, 3 Aug 2024 14:54:02 +0000 (16:54 +0200)
committerWolfgang Stöggl <c72578@yahoo.de>
Sat, 3 Aug 2024 14:56:04 +0000 (16:56 +0200)
- The following GitHub Actions are deprecated:
  actions/checkout@v2, actions/checkout@v3,
  actions/upload-artifact@v3,
  codecov/codecov-action@v3,
  github/codeql-action/init@v1, github/codeql-action/analyze@v1
- Update GitHub Actions to current versions:
  actions/checkout@v4
  actions/upload-artifact@v4,
  codecov/codecov-action@v4,
  github/codeql-action/init@v3, github/codeql-action/analyze@v3

.github/workflows/build-test-linux.yml
.github/workflows/ci-workflow.yml
.github/workflows/code-coverage.yml
.github/workflows/codeql-analysis.yml
.github/workflows/release-source.yml
.github/workflows/release-windows.yml

index a3eb7858162daf128df9ee4dbd6ff65092e9e223..45679c5d746199099947cf0dd746263e55ab2e43 100644 (file)
@@ -10,7 +10,7 @@ jobs:
     runs-on: ubuntu-20.04
     steps:
     - name: Checkout repository
-      uses: actions/checkout@v2
+      uses: actions/checkout@v4
 
     - name: Install dependencies
       run: |
index d69b6ba4b9cc02d5c505e7079779ef806ea04cd1..f85499c729511c31a4e09550f5a5833909f92486 100644 (file)
@@ -26,7 +26,7 @@ jobs:
       - name: Disable git autocrlf
         run: git config --global core.autocrlf false
         shell: cmd
-      - uses: actions/checkout@v3
+      - uses: actions/checkout@v4
       - uses: msys2/setup-msys2@v2
         with:
           msystem: MINGW64
@@ -36,7 +36,7 @@ jobs:
         run: |
           echo 'Running in MSYS2!'
           ./ci-build_MSYS2.sh
-      # - uses: actions/upload-artifact@v3
+      # - uses: actions/upload-artifact@v4
       #   with:
       #     name: test-suite.log
       #     path: tests/test-suite.log
@@ -68,7 +68,7 @@ jobs:
     env:
       buildDir: '${{ github.workspace }}/build/'
     steps:
-      - uses: actions/checkout@v3
+      - uses: actions/checkout@v4
         with:
           submodules: true
 
index 7dbaba7a31420b7bdcb859a39d2dc8c29206fcc3..a7c6fd5fb4a48aedbf9aafb4f790a141f42a236f 100644 (file)
@@ -10,7 +10,7 @@ jobs:
     runs-on: ubuntu-20.04
     steps:
     - name: Checkout repository
-      uses: actions/checkout@v3
+      uses: actions/checkout@v4
 
     - name: Install dependencies
       run: |
@@ -52,4 +52,4 @@ jobs:
         (cd src && gcov *.gcno)
         (cd src && gcov .libs/*.gcno)
     - name: Upload coverage to Codecov
-      uses: codecov/codecov-action@v3    
+      uses: codecov/codecov-action@v4
index 0cb646d4f4e119a1e3257aab837968471bf3b605..ea23cb6fa02e65da3f4deea7ed3c3738d8f6e0d5 100644 (file)
@@ -37,11 +37,11 @@ jobs:
 
     steps:
     - name: Checkout repository
-      uses: actions/checkout@v2
+      uses: actions/checkout@v4
 
     # Initializes the CodeQL tools for scanning.
     - name: Initialize CodeQL
-      uses: github/codeql-action/init@v1
+      uses: github/codeql-action/init@v3
       with:
         languages: ${{ matrix.language }}
         # If you wish to specify custom queries, you can do so here or in a config file.
@@ -52,7 +52,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@v1
+#     uses: github/codeql-action/autobuild@v3
 
     # ℹ️ Command-line programs to run using the OS shell.
     # 📚 https://git.io/JvXDl
@@ -69,4 +69,4 @@ jobs:
        ./configure --disable-ruby
        make
     - name: Perform CodeQL Analysis
-      uses: github/codeql-action/analyze@v1
+      uses: github/codeql-action/analyze@v3
index 2a026a12082764dc26dea15db6eb3fbe21dd3f48..1b8acfbd9cb20eb8fc14bd3e0c0b31e38f0566fc 100644 (file)
@@ -17,7 +17,7 @@ jobs:
       contents: write
     steps:
     - name: Checkout
-      uses: actions/checkout@v2
+      uses: actions/checkout@v4
 
     - name: Get Version
       id: get_version
index b8d99650f4fa935875381f7e4bb2f0af84cefbeb..78b63eb6a47862038b32817790911125bda68686 100644 (file)
@@ -39,7 +39,7 @@ jobs:
     env:
       buildDir: '${{ github.workspace }}/build/'
     steps:
-      - uses: actions/checkout@v3
+      - uses: actions/checkout@v4
         with:
           submodules: true
 
@@ -63,7 +63,7 @@ jobs:
       - name: Collect files
         run: |
           win32\collect_rrdtool_vcpkg_files.bat ${{ matrix.configuration }}
-      - uses: actions/upload-artifact@v3
+      - uses: actions/upload-artifact@v4
         with:
           name: deploy-rrdtool-MSVC-${{ matrix.configuration }}
           path: win32/nmake_release_${{ matrix.configuration }}_vcpkg/rrdtool-*-${{ matrix.configuration }}_vcpkg/