Skip to content

Commit fd4e21e

Browse files
committed
chore: update github actions
1 parent 3d0263c commit fd4e21e

17 files changed

Lines changed: 80 additions & 80 deletions

.github/workflows/check-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ jobs:
1212
steps:
1313
- name: Install python dependencies
1414
run: sudo apt-get update && sudo apt-get install python3-requests
15-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@v6
1616
with:
1717
ref: ${{ github.event.pull_request.head.sha }}
1818
- name: Checkout TokTok/ci-tools
19-
uses: actions/checkout@v4
19+
uses: actions/checkout@v6
2020
with:
2121
repository: TokTok/ci-tools
2222
path: ci-tools

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ jobs:
1111
mypy:
1212
runs-on: ubuntu-slim
1313
steps:
14-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@v6
1515
with:
1616
submodules: recursive
1717
- name: Set up Python 3.13
18-
uses: actions/setup-python@v5
18+
uses: actions/setup-python@v6
1919
with:
2020
python-version: 3.13
2121
- name: Install mypy

.github/workflows/common-ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
buildifier:
77
runs-on: ubuntu-slim
88
steps:
9-
- uses: actions/checkout@v4
9+
- uses: actions/checkout@v6
1010
with:
1111
submodules: recursive
1212
- name: Install
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: ubuntu-latest
2222
if: github.event_name == 'pull_request' || github.event_name == 'pull_request_target'
2323
steps:
24-
- uses: actions/checkout@v4
24+
- uses: actions/checkout@v6
2525
with:
2626
ref: ${{ github.event.pull_request.head.sha }}
2727
- uses: restyled-io/actions/setup@v4
@@ -36,7 +36,7 @@ jobs:
3636
EOM
3737
3838
- id: upload
39-
uses: actions/upload-artifact@v4
39+
uses: actions/upload-artifact@v6
4040
with:
4141
path: /tmp/restyled.diff
4242
if-no-files-found: ignore

.github/workflows/deploy-android.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ jobs:
3838
steps:
3939
- name: Install prerequisites
4040
run: sudo apt-get install -y --no-install-recommends pcregrep
41-
- uses: actions/checkout@v4
41+
- uses: actions/checkout@v6
4242
with:
4343
fetch-depth: 0
4444
submodules: true
4545
- name: Checkout ci-tools
4646
if: github.repository != 'TokTok/ci-tools'
47-
uses: actions/checkout@v4
47+
uses: actions/checkout@v6
4848
with:
4949
repository: TokTok/ci-tools
5050
path: third_party/ci-tools
@@ -53,7 +53,7 @@ jobs:
5353
if: github.repository == 'TokTok/ci-tools'
5454
run: ln -s .. third_party/ci-tools
5555
- name: Checkout dockerfiles
56-
uses: actions/checkout@v4
56+
uses: actions/checkout@v6
5757
with:
5858
repository: TokTok/dockerfiles
5959
path: third_party/dockerfiles
@@ -78,7 +78,7 @@ jobs:
7878
7979
echo "docker_image=android_builder.${{ matrix.arch }}.${ARTIFACT_TYPE}_${{ matrix.version }}" >>$GITHUB_OUTPUT
8080
- name: Cache compiler output
81-
uses: actions/cache@v4
81+
uses: actions/cache@v5
8282
with:
8383
path: .cache/ccache
8484
key: ${{ github.job }}-android-${{ matrix.arch }}-${{ matrix.build-type }}-${{ matrix.version }}-ccache
@@ -101,7 +101,7 @@ jobs:
101101
"${{ steps.artifact.outputs.project-name }}"
102102
${{ steps.artifact.outputs.artifact-source }}
103103
- name: Upload artifact
104-
uses: actions/upload-artifact@v4
104+
uses: actions/upload-artifact@v6
105105
with:
106106
name: ${{ steps.sha256.outputs.project-name }}-${{ github.sha }}-android-${{ matrix.arch }}-${{ matrix.build-type }}-${{ matrix.version }}
107107
path: ${{ steps.sha256.outputs.artifacts }}

.github/workflows/deploy-appimage.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ jobs:
4141
steps:
4242
- name: Install prerequisites
4343
run: sudo apt-get install -y --no-install-recommends pcregrep
44-
- uses: actions/checkout@v4
44+
- uses: actions/checkout@v6
4545
with:
4646
fetch-depth: 0
4747
submodules: true
4848
- name: Checkout ci-tools
4949
if: github.repository != 'TokTok/ci-tools'
50-
uses: actions/checkout@v4
50+
uses: actions/checkout@v6
5151
with:
5252
repository: TokTok/ci-tools
5353
path: third_party/ci-tools
@@ -56,7 +56,7 @@ jobs:
5656
if: github.repository == 'TokTok/ci-tools'
5757
run: ln -s .. third_party/ci-tools
5858
- name: Checkout dockerfiles
59-
uses: actions/checkout@v4
59+
uses: actions/checkout@v6
6060
with:
6161
repository: TokTok/dockerfiles
6262
path: third_party/dockerfiles
@@ -78,7 +78,7 @@ jobs:
7878
echo "artifact=$ARTIFACT" >>$GITHUB_OUTPUT
7979
echo "artifact-ref=$PROJECT_NAME-${{ github.sha }}-appimage-${{ matrix.arch }}" >>$GITHUB_OUTPUT
8080
- name: Cache compiler output
81-
uses: actions/cache@v4
81+
uses: actions/cache@v5
8282
with:
8383
path: .cache/ccache
8484
key: ${{ github.job }}-appimage-ccache
@@ -98,7 +98,7 @@ jobs:
9898
${{ inputs.cmake-args }}
9999

100100
- name: Upload artifact
101-
uses: actions/upload-artifact@v4
101+
uses: actions/upload-artifact@v6
102102
with:
103103
name: ${{ steps.artifact.outputs.artifact-ref }}
104104
path: |
@@ -153,7 +153,7 @@ jobs:
153153
steps:
154154
- name: Install prerequisites
155155
run: sudo apt-get install -y --no-install-recommends pcregrep
156-
- uses: actions/checkout@v4
156+
- uses: actions/checkout@v6
157157
if: inputs.test-files
158158
with:
159159
# Fetch tags if we're not already in a tag build.
@@ -171,7 +171,7 @@ jobs:
171171
echo "artifact-ref=$PROJECT_NAME-${{ github.sha }}-appimage-${{ matrix.arch }}" >>$GITHUB_OUTPUT
172172
echo "project-name=$PROJECT_NAME" >>$GITHUB_OUTPUT
173173
- name: Download artifact from build step
174-
uses: actions/download-artifact@v4
174+
uses: actions/download-artifact@v7
175175
with:
176176
name: ${{ steps.artifact.outputs.artifact-ref }}
177177
- name: Run AppImage
@@ -185,7 +185,7 @@ jobs:
185185
QTOX_SCREENSHOT: ${{ inputs.screenshot && format('{0}-AppImage-{1}.png', steps.artifact.outputs.project-name, matrix.arch) }}
186186
- name: Upload screenshot artifact
187187
if: inputs.screenshot
188-
uses: actions/upload-artifact@v4
188+
uses: actions/upload-artifact@v6
189189
with:
190190
name: ${{ steps.run.outputs.screenshot }}
191191
path: ${{ steps.run.outputs.screenshot }}

.github/workflows/deploy-artifact.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ jobs:
3131
steps:
3232
- name: Install prerequisites
3333
run: sudo apt-get install -y --no-install-recommends pcregrep
34-
- uses: actions/checkout@v4
34+
- uses: actions/checkout@v6
3535
with:
3636
fetch-depth: 0
3737
submodules: true
3838
- name: Checkout ci-tools
3939
if: github.repository != 'TokTok/ci-tools'
40-
uses: actions/checkout@v4
40+
uses: actions/checkout@v6
4141
with:
4242
repository: TokTok/ci-tools
4343
path: third_party/ci-tools
@@ -56,7 +56,7 @@ jobs:
5656
"${{ inputs.project-name }}"
5757
${{ inputs.artifact-source }}
5858
- name: Upload artifact
59-
uses: actions/upload-artifact@v4
59+
uses: actions/upload-artifact@v6
6060
with:
6161
name: ${{ steps.sha256.outputs.project-name }}-${{ github.sha }}-${{ inputs.build }}
6262
path: ${{ steps.sha256.outputs.artifacts }}

.github/workflows/deploy-flatpak.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ jobs:
4444
steps:
4545
- name: Install prerequisites
4646
run: sudo apt-get install -y --no-install-recommends pcregrep
47-
- uses: actions/checkout@v4
47+
- uses: actions/checkout@v6
4848
with:
4949
fetch-depth: 0
5050
submodules: true
5151
- name: Checkout ci-tools
5252
if: github.repository != 'TokTok/ci-tools'
53-
uses: actions/checkout@v4
53+
uses: actions/checkout@v6
5454
with:
5555
repository: TokTok/ci-tools
5656
path: third_party/ci-tools
@@ -59,7 +59,7 @@ jobs:
5959
if: github.repository == 'TokTok/ci-tools'
6060
run: ln -s .. third_party/ci-tools
6161
- name: Checkout dockerfiles
62-
uses: actions/checkout@v4
62+
uses: actions/checkout@v6
6363
with:
6464
repository: TokTok/dockerfiles
6565
path: third_party/dockerfiles
@@ -81,15 +81,15 @@ jobs:
8181
echo "artifact-ref=$PROJECT_NAME-${{ github.sha }}-flatpak-${{ matrix.arch }}" >>$GITHUB_OUTPUT
8282
echo "binary-name=$(echo "$PROJECT_NAME" | tr '[:upper:]' '[:lower:]')" >>$GITHUB_OUTPUT
8383
- name: Cache flatpak-builder cache (except ccache)
84-
uses: actions/cache@v4
84+
uses: actions/cache@v5
8585
with:
8686
path: |
8787
.flatpak-builder/cache
8888
.flatpak-builder/checksums
8989
.flatpak-builder/downloads
9090
key: ${{ github.job }}-flatpak-builder
9191
- name: Cache flatpak-builder cache (only ccache)
92-
uses: actions/cache@v4
92+
uses: actions/cache@v5
9393
with:
9494
path: .flatpak-builder/ccache
9595
key: ${{ github.job }}-flatpak-ccache
@@ -104,7 +104,7 @@ jobs:
104104
${{ inputs.org-name }}
105105

106106
- name: Upload artifact
107-
uses: actions/upload-artifact@v4
107+
uses: actions/upload-artifact@v6
108108
with:
109109
name: ${{ steps.artifact.outputs.artifact-ref }}
110110
path: |
@@ -157,7 +157,7 @@ jobs:
157157
steps:
158158
- name: Install prerequisites
159159
run: sudo apt-get update && sudo apt-get install -y --no-install-recommends pcregrep
160-
- uses: actions/checkout@v4
160+
- uses: actions/checkout@v6
161161
if: inputs.test-files
162162
with:
163163
# Fetch tags if we're not already in a tag build.
@@ -176,7 +176,7 @@ jobs:
176176
echo "binary-name=$(echo "$PROJECT_NAME" | tr '[:upper:]' '[:lower:]')" >>$GITHUB_OUTPUT
177177
echo "project-name=$PROJECT_NAME" >>$GITHUB_OUTPUT
178178
- name: Download artifact from build step
179-
uses: actions/download-artifact@v4
179+
uses: actions/download-artifact@v7
180180
with:
181181
name: ${{ steps.artifact.outputs.artifact-ref }}
182182
- name: Install flatpak runner

.github/workflows/deploy-macos.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@ jobs:
6262
permissions:
6363
contents: write
6464
steps:
65-
- uses: actions/checkout@v4
65+
- uses: actions/checkout@v6
6666
with:
6767
fetch-depth: 0
6868
submodules: true
6969
- name: Checkout ci-tools
7070
if: github.repository != 'TokTok/ci-tools'
71-
uses: actions/checkout@v4
71+
uses: actions/checkout@v6
7272
with:
7373
repository: TokTok/ci-tools
7474
path: third_party/ci-tools
@@ -77,7 +77,7 @@ jobs:
7777
if: github.repository == 'TokTok/ci-tools'
7878
run: ln -s .. third_party/ci-tools
7979
- name: Checkout dockerfiles
80-
uses: actions/checkout@v4
80+
uses: actions/checkout@v6
8181
with:
8282
repository: TokTok/dockerfiles
8383
path: third_party/dockerfiles
@@ -103,7 +103,7 @@ jobs:
103103
--dep-prefix /Users/runner/work/deps
104104
- name: Cache dependencies (except Qt)
105105
id: cache-deps
106-
uses: actions/cache@v4
106+
uses: actions/cache@v5
107107
with:
108108
path: |
109109
/Users/runner/work/deps/bin
@@ -129,7 +129,7 @@ jobs:
129129
KEYCHAIN_PASSWORD: ${{ secrets.APPLE_KEYCHAIN_PASSWORD }}
130130
run: third_party/ci-tools/tools/install_apple_cert.sh >/dev/null
131131
- name: Cache compiler output
132-
uses: actions/cache@v4
132+
uses: actions/cache@v5
133133
with:
134134
path: .cache/ccache
135135
key: ${{ github.job }}-macos-distributable-${{ matrix.arch }}-${{ matrix.macos }}-ccache
@@ -148,7 +148,7 @@ jobs:
148148
${{ inputs.cmake-args }}
149149

150150
- name: Upload artifact
151-
uses: actions/upload-artifact@v4
151+
uses: actions/upload-artifact@v6
152152
with:
153153
name: ${{ steps.artifact.outputs.artifact-ref }}
154154
path: |
@@ -205,7 +205,7 @@ jobs:
205205
permissions:
206206
contents: write
207207
steps:
208-
- uses: actions/checkout@v4
208+
- uses: actions/checkout@v6
209209
if: inputs.test-files
210210
with:
211211
# Fetch tags if we're not already in a tag build.
@@ -224,7 +224,7 @@ jobs:
224224
echo "binary-name=$(echo "$PROJECT_NAME" | tr '[:upper:]' '[:lower:]')" >>$GITHUB_OUTPUT
225225
echo "project-name=$PROJECT_NAME" >>$GITHUB_OUTPUT
226226
- name: Download artifact from build step
227-
uses: actions/download-artifact@v4
227+
uses: actions/download-artifact@v7
228228
with:
229229
name: ${{ steps.artifact.outputs.artifact-ref }}
230230
- name: Install 7zip
@@ -241,7 +241,7 @@ jobs:
241241
QTOX_SCREENSHOT: ${{ inputs.screenshot && format('{0}-macos-{1}-{2}.png', steps.artifact.outputs.project-name, matrix.arch, matrix.macos) }}
242242
- name: Upload screenshot artifact
243243
if: inputs.screenshot
244-
uses: actions/upload-artifact@v4
244+
uses: actions/upload-artifact@v6
245245
with:
246246
name: ${{ steps.run.outputs.screenshot }}
247247
path: ${{ steps.run.outputs.screenshot }}

.github/workflows/deploy-prepare.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
permissions:
1010
contents: write
1111
steps:
12-
- uses: actions/checkout@v4
12+
- uses: actions/checkout@v6
1313
- name: Move nightly tag to head for nightly release
1414
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
1515
run: git tag -f nightly && git push origin nightly -f
@@ -20,14 +20,14 @@ jobs:
2020
steps:
2121
- name: Install python dependencies
2222
run: sudo apt-get update && sudo apt-get install python3-requests
23-
- uses: actions/checkout@v4
23+
- uses: actions/checkout@v6
2424
if: github.event_name == 'pull_request'
2525
with:
2626
# Fetch all history so that we can check for changes in the entire history.
2727
fetch-depth: 0
2828
- name: Checkout ci-tools
2929
if: github.event_name == 'pull_request' && github.repository != 'TokTok/ci-tools'
30-
uses: actions/checkout@v4
30+
uses: actions/checkout@v6
3131
with:
3232
repository: TokTok/ci-tools
3333
path: third_party/ci-tools

0 commit comments

Comments
 (0)