From cc239965ccf83dadcf1bb526f3e2ea1ddc69fdaf Mon Sep 17 00:00:00 2001 From: YadongQi Date: Fri, 10 May 2024 10:29:28 +0800 Subject: [PATCH] Update version of actions Update version of actions Signed-off-by: YadongQi --- .github/workflows/ci.yml | 4 ++-- .github/workflows/codeql-analysis.yml | 10 +++++----- .github/workflows/release.yml | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3330882..884bd5d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: os: [ubuntu-20.04, ubuntu-22.04] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: path: vm-manager fetch-depth: 0 @@ -40,7 +40,7 @@ jobs: debuild --preserve-env -b -uc -us --lintian-opts --profile debian - name: artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: vm-manager.${{ matrix.os }}.${{ github.run_id }}.${{ github.sha }} path: | diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index ff79eae..aecc630 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -22,7 +22,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - run: | export CC=/usr/bin/clang @@ -35,7 +35,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 }} queries: security-extended,security-and-quality @@ -46,7 +46,7 @@ jobs: cmake --build . --config Release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 with: upload: False output: sarif-results @@ -61,12 +61,12 @@ jobs: output: sarif-results/cpp-filtered.sarif - name: Upload SARIF - uses: github/codeql-action/upload-sarif@v2 + uses: github/codeql-action/upload-sarif@v3 with: sarif_file: sarif-results/cpp-filtered.sarif - name: artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: sarif-results path: sarif-results diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ca19c6c..4609aa8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,7 @@ jobs: os: [ubuntu-20.04] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: path: vm-manager fetch-depth: 0 @@ -39,7 +39,7 @@ jobs: cp $(realpath ../*.deb) vm-manager_${{ env.REL_VER }}.deb - name: artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: vm-manager.${{ matrix.os }}.${{ github.run_id }}.${{ github.sha }} path: | @@ -51,7 +51,7 @@ jobs: *.changes - name: Upload release assets - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: files: | vm-manager/vm-manager_${{ env.REL_VER }}.deb