From aa0c2e520fc6cce68b5d923884fa0f1f3bf1850b Mon Sep 17 00:00:00 2001 From: Alexander Shaduri Date: Mon, 22 Apr 2024 22:19:14 +0400 Subject: [PATCH] Updated GitHub actions to use Node20 versions. --- .github/workflows/cmake-tier1.yml | 8 ++++---- .github/workflows/cmake-tier2-flaky.yml | 2 +- .github/workflows/cmake-tier2.yml | 2 +- .github/workflows/codacy-analysis.yml | 2 +- .github/workflows/codeql-analysis.yml | 11 +++++++---- .github/workflows/devskim-analysis.yml | 2 +- 6 files changed, 15 insertions(+), 12 deletions(-) diff --git a/.github/workflows/cmake-tier1.yml b/.github/workflows/cmake-tier1.yml index a7fffa20..181d6838 100644 --- a/.github/workflows/cmake-tier1.yml +++ b/.github/workflows/cmake-tier1.yml @@ -23,7 +23,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Update Package Database run: sudo apt-get update @@ -63,7 +63,7 @@ jobs: run: cpack -G TBZ2 - name: Upload artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Linux Packages path: ${{github.workspace}}/build/gsmartcontrol-*-Linux*.* @@ -79,7 +79,7 @@ jobs: ] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: msys2/setup-msys2@v2 # p7zip is needed to extract smartmontools @@ -164,7 +164,7 @@ jobs: run: cpack -G NSIS - name: Upload artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Windows Packages path: ${{github.workspace}}/build/gsmartcontrol-*-win*.* diff --git a/.github/workflows/cmake-tier2-flaky.yml b/.github/workflows/cmake-tier2-flaky.yml index 21ab1635..0dddeb84 100644 --- a/.github/workflows/cmake-tier2-flaky.yml +++ b/.github/workflows/cmake-tier2-flaky.yml @@ -19,7 +19,7 @@ jobs: # variables to pass to VM # MYTOKEN : ${{ secrets.MYTOKEN }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build and test in FreeBSD id: test diff --git a/.github/workflows/cmake-tier2.yml b/.github/workflows/cmake-tier2.yml index 3571065a..fc6ea0bf 100644 --- a/.github/workflows/cmake-tier2.yml +++ b/.github/workflows/cmake-tier2.yml @@ -21,7 +21,7 @@ jobs: runs-on: macos-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Dependencies run: brew install pkg-config gtkmm3 pcre cmake diff --git a/.github/workflows/codacy-analysis.yml b/.github/workflows/codacy-analysis.yml index fe42a0b2..291bbe16 100644 --- a/.github/workflows/codacy-analysis.yml +++ b/.github/workflows/codacy-analysis.yml @@ -29,7 +29,7 @@ jobs: steps: # Checkout the repository to the GitHub Actions runner - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Execute Codacy Analysis CLI and generate a SARIF output with the security issues identified during the analysis - name: Run Codacy Analysis CLI diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 8ee1f848..b064bc10 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -38,7 +38,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Update Package Database run: sudo apt-get update @@ -48,7 +48,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + 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. @@ -59,7 +59,10 @@ 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@v2 + env: + CC: gcc-13 + CXX: g++-13 + uses: github/codeql-action/autobuild@v3 # ℹī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -73,4 +76,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 diff --git a/.github/workflows/devskim-analysis.yml b/.github/workflows/devskim-analysis.yml index 2e1f2f8c..182a8d60 100644 --- a/.github/workflows/devskim-analysis.yml +++ b/.github/workflows/devskim-analysis.yml @@ -23,7 +23,7 @@ jobs: security-events: write steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Run DevSkim scanner uses: microsoft/DevSkim-Action@v1