From 8a8a5b2ccefd18f17e88d0ac77bff9c78bcacb38 Mon Sep 17 00:00:00 2001 From: Anton Kochkov Date: Sun, 11 Aug 2024 21:44:41 +0800 Subject: [PATCH] Update GitHub Action versions (#3296) --- .github/workflows/ci.yml | 16 ++++++++-------- .github/workflows/coverity-scan.yml | 4 ++-- .github/workflows/docs.yml | 2 +- .github/workflows/linter.yml | 4 ++-- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1090778b..f8e4f259 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -97,7 +97,7 @@ jobs: unset CMAKE_VERSION unset GIT_VERSION - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: recursive persist-credentials: false @@ -160,7 +160,7 @@ jobs: gcc-12 \ g++-12 fi - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: py dependencies @@ -280,7 +280,7 @@ jobs: echo PACKAGE_NAME=Cutter-${PACKAGE_ID}-src.tar.gz >> $GITHUB_ENV echo PACKAGE_PATH=Cutter-${PACKAGE_ID}-src.tar.gz >> $GITHUB_ENV echo UPLOAD_ASSET_TYPE=application/gzip >> $GITHUB_ENV - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: env.PACKAGE_NAME != null with: name: ${{ env.PACKAGE_NAME }} @@ -331,7 +331,7 @@ jobs: # Prevent one job from pausing the rest fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: recursive persist-credentials: false @@ -358,7 +358,7 @@ jobs: qt-major: ${{ matrix.qt-major }} package: ${{ matrix.package }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: env.PACKAGE_NAME != null with: name: ${{ steps.build.outputs.PACKAGE_NAME }} @@ -409,11 +409,11 @@ jobs: # Prevent one job from pausing the rest fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: recursive persist-credentials: false - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: homebrew dependencies @@ -517,7 +517,7 @@ jobs: echo PACKAGE_NAME=%PACKAGE_NAME%.zip >> %GITHUB_ENV% echo PACKAGE_PATH=build/%PACKAGE_NAME%.zip >> %GITHUB_ENV% echo UPLOAD_ASSET_TYPE=application/zip >> %GITHUB_ENV% - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: env.PACKAGE_NAME != null with: name: ${{ env.PACKAGE_NAME }} diff --git a/.github/workflows/coverity-scan.yml b/.github/workflows/coverity-scan.yml index 66742428..d2fe7ecf 100644 --- a/.github/workflows/coverity-scan.yml +++ b/.github/workflows/coverity-scan.yml @@ -7,10 +7,10 @@ jobs: latest: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: recursive - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: 3.9.x diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 09929175..a4e77ac3 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -9,7 +9,7 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: recursive - name: install dependencies diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 3ec9d658..39171b89 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -16,7 +16,7 @@ jobs: outputs: clang-format: ${{ steps.filter.outputs.clang-format }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: dorny/paths-filter@v2 id: filter with: @@ -35,7 +35,7 @@ jobs: if: ${{ needs.changes.outputs.clang-format == 'true' }} steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install wget, software-properties-common, lsb-release (dependencies of LLVM install script) run: sudo apt --assume-yes install wget software-properties-common lsb-release