From a4b82eb05a051a43e65b2506735b6c84c879c33e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20L=C3=B6ffler?= Date: Sat, 13 Jun 2026 08:15:08 +0200 Subject: [PATCH] Update third-party action dependencies This also fixes some "Node.js 20 deprecation" warnings --- .github/workflows/cd.yml | 20 ++++++++++---------- .github/workflows/ci.yml | 18 +++++++++--------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index da3ee89dd..714370f4d 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -14,7 +14,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 # fetch the entire history so we can create the changelog @@ -39,13 +39,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Build run: DOCKER_BUILDKIT=1 docker build -f ./.github/workflows/Dockerfile.appimage-debian -o out . - name: Upload artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: TeXworks-AppImage path: out/TeXworks-*.AppImage @@ -72,10 +72,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup WSL - uses: Vampire/setup-wsl@v5 + uses: Vampire/setup-wsl@v7 with: distribution: Ubuntu-24.04 @@ -131,7 +131,7 @@ jobs: id: package - name: Upload artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: TeXworks-Windows${{ matrix.winVersion }} path: ${{ steps.package.outputs.file }} @@ -145,7 +145,7 @@ jobs: working-directory: win32 - name: Upload installer artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: TeXworks-Windows${{ matrix.winVersion }}-Setup path: win32/Output/*.exe @@ -202,7 +202,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 # Mono seems to provide some (potentially incompatible) headers that CMake # might pick up on instead of ours @@ -232,7 +232,7 @@ jobs: - name: Cache dependencies id: cache-dependencies - uses: actions/cache@v4 + uses: actions/cache@v5 with: key: twdeps-${{ runner.os }}-${{ env.MACOSX_DEPLOYMENT_TARGET }}-${{ matrix.arch }}-qt${{ matrix.qtVersion }}-${{ hashFiles('./.github/actions/setup-macos/*') }} path: ${{ runner.temp }}/tw-deps @@ -267,7 +267,7 @@ jobs: hdiutil detach ${{ runner.temp }}/pkg - name: Upload artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: TeXworks-macOS${{ matrix.macVersion }}-${{ matrix.arch }} path: ${{ steps.package.outputs.file }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8323f5e23..be3514fcd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Build run: docker build -f .github/workflows/Dockerfile.legacy . @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Build run: docker build -f .github/workflows/Dockerfile.arch-qt6 . @@ -34,7 +34,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Build run: docker build -f .github/workflows/Dockerfile.sanitizer . @@ -46,7 +46,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Install dependencies run: sudo apt update && sudo apt install --assume-yes --no-install-recommends libhunspell-dev liblua5.4-dev libpoppler-qt6-dev libpoppler-private-dev make poppler-data qt6-5compat-dev qt6-base-dev qt6-declarative-dev qt6-tools-dev qt6-tools-dev-tools zlib1g-dev xvfb fonts-urw-base35 poppler-data lcov @@ -79,7 +79,7 @@ jobs: lcov --list coverage.info #debug info echo "::endgroup::" - name: Upload to Codecov - uses: codecov/codecov-action@v5 + uses: codecov/codecov-action@v7 with: fail_ci_if_error: true token: ${{ secrets.CODECOV_TOKEN }} @@ -107,7 +107,7 @@ jobs: install: mingw-w64-x86_64-cmake git make mingw-w64-x86_64-gcc mingw-w64-x86_64-hunspell mingw-w64-x86_64-lua mingw-w64-x86_64-poppler mingw-w64-x86_64-qt5 - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Configure run: cmake -G 'MSYS Makefiles' -B build -DTW_BUILD_ID='github' -DTEXWORKS_ADDITIONAL_LIBS='shlwapi' -DQT_DEFAULT_MAJOR_VERSION=5 @@ -129,7 +129,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Install Qt uses: jurplel/install-qt-action@v4 @@ -173,7 +173,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Install Dependencies run: | @@ -212,7 +212,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Install MacPorts run: |