From fd4e21e4daf52e96e5fdac5bcffd38a2c73c1139 Mon Sep 17 00:00:00 2001 From: Green Sky Date: Thu, 26 Feb 2026 12:08:39 +0100 Subject: [PATCH] chore: update github actions --- .github/workflows/check-release.yml | 4 +-- .github/workflows/ci.yml | 4 +-- .github/workflows/common-ci.yml | 6 ++-- .github/workflows/deploy-android.yml | 10 +++---- .github/workflows/deploy-appimage.yml | 16 +++++------ .github/workflows/deploy-artifact.yml | 6 ++-- .github/workflows/deploy-flatpak.yml | 16 +++++------ .github/workflows/deploy-macos.yml | 18 ++++++------ .github/workflows/deploy-prepare.yml | 6 ++-- .github/workflows/deploy-windows.yml | 16 +++++------ .github/workflows/flutter-pages.yml | 2 +- .github/workflows/flutter.yml | 40 +++++++++++++-------------- .github/workflows/haskell-ci.yml | 2 +- .github/workflows/haskell-publish.yml | 6 ++-- .github/workflows/netlify.yml | 2 +- .github/workflows/release-deploy.yml | 4 +-- .github/workflows/release-soon.yml | 2 +- 17 files changed, 80 insertions(+), 80 deletions(-) diff --git a/.github/workflows/check-release.yml b/.github/workflows/check-release.yml index 53bd600..ffec519 100644 --- a/.github/workflows/check-release.yml +++ b/.github/workflows/check-release.yml @@ -12,11 +12,11 @@ jobs: steps: - name: Install python dependencies run: sudo apt-get update && sudo apt-get install python3-requests - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: ref: ${{ github.event.pull_request.head.sha }} - name: Checkout TokTok/ci-tools - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: TokTok/ci-tools path: ci-tools diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ecd0811..d93d95f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,11 +11,11 @@ jobs: mypy: runs-on: ubuntu-slim steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: submodules: recursive - name: Set up Python 3.13 - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: 3.13 - name: Install mypy diff --git a/.github/workflows/common-ci.yml b/.github/workflows/common-ci.yml index bd8d435..1fa6603 100644 --- a/.github/workflows/common-ci.yml +++ b/.github/workflows/common-ci.yml @@ -6,7 +6,7 @@ jobs: buildifier: runs-on: ubuntu-slim steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: submodules: recursive - name: Install @@ -21,7 +21,7 @@ jobs: runs-on: ubuntu-latest if: github.event_name == 'pull_request' || github.event_name == 'pull_request_target' steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: ref: ${{ github.event.pull_request.head.sha }} - uses: restyled-io/actions/setup@v4 @@ -36,7 +36,7 @@ jobs: EOM - id: upload - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: path: /tmp/restyled.diff if-no-files-found: ignore diff --git a/.github/workflows/deploy-android.yml b/.github/workflows/deploy-android.yml index d2729e4..72b8952 100644 --- a/.github/workflows/deploy-android.yml +++ b/.github/workflows/deploy-android.yml @@ -38,13 +38,13 @@ jobs: steps: - name: Install prerequisites run: sudo apt-get install -y --no-install-recommends pcregrep - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 submodules: true - name: Checkout ci-tools if: github.repository != 'TokTok/ci-tools' - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: TokTok/ci-tools path: third_party/ci-tools @@ -53,7 +53,7 @@ jobs: if: github.repository == 'TokTok/ci-tools' run: ln -s .. third_party/ci-tools - name: Checkout dockerfiles - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: TokTok/dockerfiles path: third_party/dockerfiles @@ -78,7 +78,7 @@ jobs: echo "docker_image=android_builder.${{ matrix.arch }}.${ARTIFACT_TYPE}_${{ matrix.version }}" >>$GITHUB_OUTPUT - name: Cache compiler output - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: .cache/ccache key: ${{ github.job }}-android-${{ matrix.arch }}-${{ matrix.build-type }}-${{ matrix.version }}-ccache @@ -101,7 +101,7 @@ jobs: "${{ steps.artifact.outputs.project-name }}" ${{ steps.artifact.outputs.artifact-source }} - name: Upload artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: ${{ steps.sha256.outputs.project-name }}-${{ github.sha }}-android-${{ matrix.arch }}-${{ matrix.build-type }}-${{ matrix.version }} path: ${{ steps.sha256.outputs.artifacts }} diff --git a/.github/workflows/deploy-appimage.yml b/.github/workflows/deploy-appimage.yml index 211f471..9c65ec8 100644 --- a/.github/workflows/deploy-appimage.yml +++ b/.github/workflows/deploy-appimage.yml @@ -41,13 +41,13 @@ jobs: steps: - name: Install prerequisites run: sudo apt-get install -y --no-install-recommends pcregrep - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 submodules: true - name: Checkout ci-tools if: github.repository != 'TokTok/ci-tools' - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: TokTok/ci-tools path: third_party/ci-tools @@ -56,7 +56,7 @@ jobs: if: github.repository == 'TokTok/ci-tools' run: ln -s .. third_party/ci-tools - name: Checkout dockerfiles - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: TokTok/dockerfiles path: third_party/dockerfiles @@ -78,7 +78,7 @@ jobs: echo "artifact=$ARTIFACT" >>$GITHUB_OUTPUT echo "artifact-ref=$PROJECT_NAME-${{ github.sha }}-appimage-${{ matrix.arch }}" >>$GITHUB_OUTPUT - name: Cache compiler output - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: .cache/ccache key: ${{ github.job }}-appimage-ccache @@ -98,7 +98,7 @@ jobs: ${{ inputs.cmake-args }} - name: Upload artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: ${{ steps.artifact.outputs.artifact-ref }} path: | @@ -153,7 +153,7 @@ jobs: steps: - name: Install prerequisites run: sudo apt-get install -y --no-install-recommends pcregrep - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 if: inputs.test-files with: # Fetch tags if we're not already in a tag build. @@ -171,7 +171,7 @@ jobs: echo "artifact-ref=$PROJECT_NAME-${{ github.sha }}-appimage-${{ matrix.arch }}" >>$GITHUB_OUTPUT echo "project-name=$PROJECT_NAME" >>$GITHUB_OUTPUT - name: Download artifact from build step - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v7 with: name: ${{ steps.artifact.outputs.artifact-ref }} - name: Run AppImage @@ -185,7 +185,7 @@ jobs: QTOX_SCREENSHOT: ${{ inputs.screenshot && format('{0}-AppImage-{1}.png', steps.artifact.outputs.project-name, matrix.arch) }} - name: Upload screenshot artifact if: inputs.screenshot - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: ${{ steps.run.outputs.screenshot }} path: ${{ steps.run.outputs.screenshot }} diff --git a/.github/workflows/deploy-artifact.yml b/.github/workflows/deploy-artifact.yml index a363185..4412376 100644 --- a/.github/workflows/deploy-artifact.yml +++ b/.github/workflows/deploy-artifact.yml @@ -31,13 +31,13 @@ jobs: steps: - name: Install prerequisites run: sudo apt-get install -y --no-install-recommends pcregrep - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 submodules: true - name: Checkout ci-tools if: github.repository != 'TokTok/ci-tools' - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: TokTok/ci-tools path: third_party/ci-tools @@ -56,7 +56,7 @@ jobs: "${{ inputs.project-name }}" ${{ inputs.artifact-source }} - name: Upload artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: ${{ steps.sha256.outputs.project-name }}-${{ github.sha }}-${{ inputs.build }} path: ${{ steps.sha256.outputs.artifacts }} diff --git a/.github/workflows/deploy-flatpak.yml b/.github/workflows/deploy-flatpak.yml index 6431214..a701503 100644 --- a/.github/workflows/deploy-flatpak.yml +++ b/.github/workflows/deploy-flatpak.yml @@ -44,13 +44,13 @@ jobs: steps: - name: Install prerequisites run: sudo apt-get install -y --no-install-recommends pcregrep - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 submodules: true - name: Checkout ci-tools if: github.repository != 'TokTok/ci-tools' - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: TokTok/ci-tools path: third_party/ci-tools @@ -59,7 +59,7 @@ jobs: if: github.repository == 'TokTok/ci-tools' run: ln -s .. third_party/ci-tools - name: Checkout dockerfiles - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: TokTok/dockerfiles path: third_party/dockerfiles @@ -81,7 +81,7 @@ jobs: echo "artifact-ref=$PROJECT_NAME-${{ github.sha }}-flatpak-${{ matrix.arch }}" >>$GITHUB_OUTPUT echo "binary-name=$(echo "$PROJECT_NAME" | tr '[:upper:]' '[:lower:]')" >>$GITHUB_OUTPUT - name: Cache flatpak-builder cache (except ccache) - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: | .flatpak-builder/cache @@ -89,7 +89,7 @@ jobs: .flatpak-builder/downloads key: ${{ github.job }}-flatpak-builder - name: Cache flatpak-builder cache (only ccache) - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: .flatpak-builder/ccache key: ${{ github.job }}-flatpak-ccache @@ -104,7 +104,7 @@ jobs: ${{ inputs.org-name }} - name: Upload artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: ${{ steps.artifact.outputs.artifact-ref }} path: | @@ -157,7 +157,7 @@ jobs: steps: - name: Install prerequisites run: sudo apt-get update && sudo apt-get install -y --no-install-recommends pcregrep - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 if: inputs.test-files with: # Fetch tags if we're not already in a tag build. @@ -176,7 +176,7 @@ jobs: echo "binary-name=$(echo "$PROJECT_NAME" | tr '[:upper:]' '[:lower:]')" >>$GITHUB_OUTPUT echo "project-name=$PROJECT_NAME" >>$GITHUB_OUTPUT - name: Download artifact from build step - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v7 with: name: ${{ steps.artifact.outputs.artifact-ref }} - name: Install flatpak runner diff --git a/.github/workflows/deploy-macos.yml b/.github/workflows/deploy-macos.yml index daa00d2..039aa28 100644 --- a/.github/workflows/deploy-macos.yml +++ b/.github/workflows/deploy-macos.yml @@ -62,13 +62,13 @@ jobs: permissions: contents: write steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 submodules: true - name: Checkout ci-tools if: github.repository != 'TokTok/ci-tools' - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: TokTok/ci-tools path: third_party/ci-tools @@ -77,7 +77,7 @@ jobs: if: github.repository == 'TokTok/ci-tools' run: ln -s .. third_party/ci-tools - name: Checkout dockerfiles - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: TokTok/dockerfiles path: third_party/dockerfiles @@ -103,7 +103,7 @@ jobs: --dep-prefix /Users/runner/work/deps - name: Cache dependencies (except Qt) id: cache-deps - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: | /Users/runner/work/deps/bin @@ -129,7 +129,7 @@ jobs: KEYCHAIN_PASSWORD: ${{ secrets.APPLE_KEYCHAIN_PASSWORD }} run: third_party/ci-tools/tools/install_apple_cert.sh >/dev/null - name: Cache compiler output - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: .cache/ccache key: ${{ github.job }}-macos-distributable-${{ matrix.arch }}-${{ matrix.macos }}-ccache @@ -148,7 +148,7 @@ jobs: ${{ inputs.cmake-args }} - name: Upload artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: ${{ steps.artifact.outputs.artifact-ref }} path: | @@ -205,7 +205,7 @@ jobs: permissions: contents: write steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 if: inputs.test-files with: # Fetch tags if we're not already in a tag build. @@ -224,7 +224,7 @@ jobs: echo "binary-name=$(echo "$PROJECT_NAME" | tr '[:upper:]' '[:lower:]')" >>$GITHUB_OUTPUT echo "project-name=$PROJECT_NAME" >>$GITHUB_OUTPUT - name: Download artifact from build step - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v7 with: name: ${{ steps.artifact.outputs.artifact-ref }} - name: Install 7zip @@ -241,7 +241,7 @@ jobs: QTOX_SCREENSHOT: ${{ inputs.screenshot && format('{0}-macos-{1}-{2}.png', steps.artifact.outputs.project-name, matrix.arch, matrix.macos) }} - name: Upload screenshot artifact if: inputs.screenshot - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: ${{ steps.run.outputs.screenshot }} path: ${{ steps.run.outputs.screenshot }} diff --git a/.github/workflows/deploy-prepare.yml b/.github/workflows/deploy-prepare.yml index 29f59fa..ac7dc3b 100644 --- a/.github/workflows/deploy-prepare.yml +++ b/.github/workflows/deploy-prepare.yml @@ -9,7 +9,7 @@ jobs: permissions: contents: write steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Move nightly tag to head for nightly release if: github.event_name == 'push' && github.ref == 'refs/heads/master' run: git tag -f nightly && git push origin nightly -f @@ -20,14 +20,14 @@ jobs: steps: - name: Install python dependencies run: sudo apt-get update && sudo apt-get install python3-requests - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 if: github.event_name == 'pull_request' with: # Fetch all history so that we can check for changes in the entire history. fetch-depth: 0 - name: Checkout ci-tools if: github.event_name == 'pull_request' && github.repository != 'TokTok/ci-tools' - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: TokTok/ci-tools path: third_party/ci-tools diff --git a/.github/workflows/deploy-windows.yml b/.github/workflows/deploy-windows.yml index 0137535..851319a 100644 --- a/.github/workflows/deploy-windows.yml +++ b/.github/workflows/deploy-windows.yml @@ -48,13 +48,13 @@ jobs: steps: - name: Install prerequisites run: sudo apt-get install -y --no-install-recommends pcregrep - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 submodules: true - name: Checkout ci-tools if: github.repository != 'TokTok/ci-tools' - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: TokTok/ci-tools path: third_party/ci-tools @@ -63,7 +63,7 @@ jobs: if: github.repository == 'TokTok/ci-tools' run: ln -s .. third_party/ci-tools - name: Checkout dockerfiles - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: TokTok/dockerfiles path: third_party/dockerfiles @@ -86,7 +86,7 @@ jobs: echo "artifact-ref=$PROJECT_NAME-${{ github.sha }}-windows-exe-${{ matrix.build-type }}-${{ matrix.arch }}" >>$GITHUB_OUTPUT echo "binary-name=$BINARY_NAME" >>$GITHUB_OUTPUT - name: Cache compiler output - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: .cache/ccache key: ${{ github.job }}-windows-${{ matrix.arch }}-${{ matrix.build-type }}-ccache @@ -106,13 +106,13 @@ jobs: ${{ inputs.cmake-args }} - name: Upload installer if: matrix.build-type == 'Release' - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: ${{ steps.artifact.outputs.artifact-ref }} path: package-prefix/${{ steps.artifact.outputs.artifact }} if-no-files-found: error - name: Upload zip - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: ${{ steps.artifact.outputs.project-name }}-${{ github.sha }}-windows-zip-${{ matrix.build-type }}-${{ matrix.arch }} path: install-prefix/${{ steps.artifact.outputs.binary-name }}-${{ matrix.arch }}-${{ matrix.build-type }}.zip @@ -173,7 +173,7 @@ jobs: exclude: - arch: ${{ github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'packaging') && 'i686' }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 if: inputs.test-files with: # Fetch tags if we're not already in a tag build. @@ -189,7 +189,7 @@ jobs: echo "artifact-ref=${{ needs.build.outputs.project-name }}-${{ github.sha }}-windows-exe-${{ matrix.build-type }}-${{ matrix.arch }}" >>$GITHUB_OUTPUT echo "binary-name=$BINARY_NAME" >>$GITHUB_OUTPUT - name: Download artifact from build step - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v7 with: name: ${{ steps.artifact.outputs.artifact-ref }} - name: Unpack exe diff --git a/.github/workflows/flutter-pages.yml b/.github/workflows/flutter-pages.yml index b3a9975..ba42cc3 100644 --- a/.github/workflows/flutter-pages.yml +++ b/.github/workflows/flutter-pages.yml @@ -30,7 +30,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup Flutter uses: subosito/flutter-action@v2 with: diff --git a/.github/workflows/flutter.yml b/.github/workflows/flutter.yml index f60762b..8823bcf 100644 --- a/.github/workflows/flutter.yml +++ b/.github/workflows/flutter.yml @@ -27,7 +27,7 @@ jobs: runs-on: ubuntu-slim steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup Flutter uses: subosito/flutter-action@v2 with: @@ -43,7 +43,7 @@ jobs: runs-on: ubuntu-24.04 steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup Flutter uses: subosito/flutter-action@v2 with: @@ -60,7 +60,7 @@ jobs: runs-on: ubuntu-24.04 steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 2 - name: Setup Flutter @@ -83,7 +83,7 @@ jobs: fail_ci_if_error: true - name: Upload failed test goldens if: failure() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: failed-test-goldens path: test/**/failures @@ -94,7 +94,7 @@ jobs: runs-on: ubuntu-24.04 steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup Flutter uses: subosito/flutter-action@v2 with: @@ -108,7 +108,7 @@ jobs: - name: Copy release APK to ${{ inputs.project-name }}-android.apk run: cp build/app/outputs/flutter-apk/app-release.apk ${{ inputs.project-name }}-android.apk - name: Upload artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: ${{ inputs.project-name }}-android.apk path: ${{ inputs.project-name }}-android.apk @@ -130,7 +130,7 @@ jobs: runs-on: ubuntu-24.04 steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup Flutter uses: subosito/flutter-action@v2 with: @@ -147,7 +147,7 @@ jobs: - name: Create tarball run: tar zcf ${{ inputs.project-name }}-linux.tar.gz -C build/linux/x64/release bundle - name: Upload artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: ${{ inputs.project-name }}-linux.tar.gz path: ${{ inputs.project-name }}-linux.tar.gz @@ -170,7 +170,7 @@ jobs: runs-on: ubuntu-24.04 steps: - name: Download artifact - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v7 with: name: ${{ inputs.project-name }}-linux.tar.gz - name: Extract artifact @@ -186,7 +186,7 @@ jobs: DISPLAY: ":99" XAUTHORITY: /tmp/xvfb.auth - name: Upload screenshot - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: ${{ inputs.project-name }}-linux.png path: ${{ inputs.project-name }}-linux.png @@ -208,7 +208,7 @@ jobs: runs-on: macos-15-intel steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup Flutter uses: subosito/flutter-action@v2 with: @@ -226,7 +226,7 @@ jobs: zip -r ${{ inputs.project-name }}-ios.zip Payload mv ${{ inputs.project-name }}-ios.zip ${{ inputs.project-name }}-ios.ipa - name: Upload artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: ${{ inputs.project-name }}-ios.ipa path: ${{ inputs.project-name }}-ios.ipa @@ -248,7 +248,7 @@ jobs: runs-on: macos-14 steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup Flutter uses: subosito/flutter-action@v2 with: @@ -262,7 +262,7 @@ jobs: - name: Create tarball run: tar zcf ${{ inputs.project-name }}-macos.tar.gz -C build/macos/Build/Products/Release ${{ inputs.project-name }}.app - name: Upload artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: ${{ inputs.project-name }}-macos.tar.gz path: ${{ inputs.project-name }}-macos.tar.gz @@ -285,7 +285,7 @@ jobs: runs-on: macos-14 steps: - name: Download artifact - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v7 with: name: ${{ inputs.project-name }}-macos.tar.gz - name: Extract artifact @@ -295,7 +295,7 @@ jobs: - name: Take a screenshot run: screencapture -x ${{ inputs.project-name }}-macos.png - name: Upload screenshot - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: ${{ inputs.project-name }}-macos.png path: ${{ inputs.project-name }}-macos.png @@ -320,7 +320,7 @@ jobs: shell: bash steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup Flutter uses: subosito/flutter-action@v2 with: @@ -334,7 +334,7 @@ jobs: - name: Create tarball run: tar -zcf ${{ inputs.project-name }}-windows-x64.tar.gz -C build/windows/x64/runner/Release . - name: Upload artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: ${{ inputs.project-name }}-windows-x64.tar.gz path: ${{ inputs.project-name }}-windows-x64.tar.gz @@ -357,7 +357,7 @@ jobs: runs-on: windows-2022 steps: - name: Download artifact - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v7 with: name: ${{ inputs.project-name }}-windows-x64.tar.gz - name: Extract artifact @@ -369,7 +369,7 @@ jobs: - name: Take a screenshot run: ./nircmd.exe savescreenshot ${{ inputs.project-name }}-windows.png - name: Upload screenshot - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: ${{ inputs.project-name }}-windows.png path: ${{ inputs.project-name }}-windows.png diff --git a/.github/workflows/haskell-ci.yml b/.github/workflows/haskell-ci.yml index 625f758..124510d 100644 --- a/.github/workflows/haskell-ci.yml +++ b/.github/workflows/haskell-ci.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-22.04 container: toxchat/toktok-stack:haskell steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Run tests run: stack test - name: Build source package diff --git a/.github/workflows/haskell-publish.yml b/.github/workflows/haskell-publish.yml index c5b8d70..87ee80d 100644 --- a/.github/workflows/haskell-publish.yml +++ b/.github/workflows/haskell-publish.yml @@ -42,9 +42,9 @@ jobs: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Checkout TokTok/ci-tools - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: TokTok/ci-tools path: ci-tools @@ -55,7 +55,7 @@ jobs: cabal-version: ${{ inputs.cabal-version }} - name: Cache - uses: actions/cache@v4 + uses: actions/cache@v5 env: ghc-version: ${{ inputs.ghc-version }} cache-name: cache-cabal diff --git a/.github/workflows/netlify.yml b/.github/workflows/netlify.yml index 54305be..2965eb0 100644 --- a/.github/workflows/netlify.yml +++ b/.github/workflows/netlify.yml @@ -47,7 +47,7 @@ jobs: > Building deployment preview... comment-tag: preview - name: Checkout tree - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: ref: ${{ github.event.pull_request.head.sha || github.sha }} fetch-depth: 0 diff --git a/.github/workflows/release-deploy.yml b/.github/workflows/release-deploy.yml index c8fc22e..5602e98 100644 --- a/.github/workflows/release-deploy.yml +++ b/.github/workflows/release-deploy.yml @@ -34,13 +34,13 @@ jobs: - name: Install python dependencies run: sudo apt-get update && sudo apt-get install python3-requests - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 submodules: true - name: Checkout ci-tools if: github.repository != 'TokTok/ci-tools' - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: TokTok/ci-tools path: third_party/ci-tools diff --git a/.github/workflows/release-soon.yml b/.github/workflows/release-soon.yml index f3619ef..c049913 100644 --- a/.github/workflows/release-soon.yml +++ b/.github/workflows/release-soon.yml @@ -19,7 +19,7 @@ jobs: pull-requests: write runs-on: ubuntu-slim steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 - name: Validate PR