Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/check-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/common-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
buildifier:
runs-on: ubuntu-slim
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: recursive
- name: Install
Expand All @@ -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
Expand All @@ -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
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/deploy-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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 }}
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/deploy-appimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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: |
Expand Down Expand Up @@ -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.
Expand All @@ -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
Expand All @@ -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 }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy-artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/deploy-flatpak.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -81,15 +81,15 @@ 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
.flatpak-builder/checksums
.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
Expand All @@ -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: |
Expand Down Expand Up @@ -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.
Expand All @@ -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
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/deploy-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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: |
Expand Down Expand Up @@ -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.
Expand All @@ -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
Expand All @@ -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 }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy-prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
Loading
Loading