1313
1414jobs :
1515 dry-run :
16- runs-on : ubuntu-latest
16+ runs-on : >-
17+ ${{ github.repository == 'vortex-data/vortex'
18+ && format('runs-on={0}/runner=amd64-medium/image=ubuntu24-full-x64-pre-v2/tag=compat-gen-dry-run', github.run_id)
19+ || 'ubuntu-latest' }}
1720 permissions :
1821 contents : read
1922 outputs :
2023 version : ${{ steps.detect.outputs.version }}
2124 steps :
22- - uses : actions/checkout@v4
25+ - uses : runs-on/action@v2
26+ if : github.repository == 'vortex-data/vortex'
27+ with :
28+ sccache : s3
29+ - uses : actions/checkout@v6
2330 with :
2431 fetch-depth : 0
25-
26- - uses : dtolnay/rust-toolchain@stable
27-
28- - uses : Swatinem/rust-cache@v2
32+ - uses : ./.github/actions/setup-prebuild
2933
3034 - name : Detect version
3135 id : detect
4347 - name : Dry run publish
4448 run : |
4549 GIT_REF="${{ inputs.git_ref }}"
46- CMD="python3 vortex-test/compat-gen/scripts/compat.py publish --dry-run"
50+ CMD="uv run vortex-test/compat-gen/scripts/compat.py publish --dry-run"
4751 if [ -n "$GIT_REF" ]; then
4852 CMD="$CMD --git-ref $GIT_REF"
4953 fi
@@ -52,19 +56,23 @@ jobs:
5256 upload :
5357 needs : dry-run
5458 if : inputs.confirm_upload == 'yes'
55- runs-on : ubuntu-latest
59+ runs-on : >-
60+ ${{ github.repository == 'vortex-data/vortex'
61+ && format('runs-on={0}/runner=amd64-medium/image=ubuntu24-full-x64-pre-v2/tag=compat-gen-upload', github.run_id)
62+ || 'ubuntu-latest' }}
5663 environment : compat-upload
5764 permissions :
5865 id-token : write
5966 contents : read
6067 steps :
61- - uses : actions/checkout@v4
68+ - uses : runs-on/action@v2
69+ if : github.repository == 'vortex-data/vortex'
70+ with :
71+ sccache : s3
72+ - uses : actions/checkout@v6
6273 with :
6374 fetch-depth : 0
64-
65- - uses : dtolnay/rust-toolchain@stable
66-
67- - uses : Swatinem/rust-cache@v2
75+ - uses : ./.github/actions/setup-prebuild
6876
6977 - name : Configure AWS credentials
7078 uses : aws-actions/configure-aws-credentials@v5
7583 - name : Upload fixtures for v${{ needs.dry-run.outputs.version }}
7684 run : |
7785 GIT_REF="${{ inputs.git_ref }}"
78- CMD="python3 vortex-test/compat-gen/scripts/compat.py publish --yes"
86+ CMD="uv run vortex-test/compat-gen/scripts/compat.py publish --yes"
7987 if [ -n "$GIT_REF" ]; then
8088 CMD="$CMD --git-ref $GIT_REF"
8189 fi
0 commit comments