@@ -65,10 +65,11 @@ jobs:
6565 # Check crate compiles and base cargo check passes
6666 linux-build-lib :
6767 name : linux build test
68- runs-on : ubuntu-latest
68+ runs-on : ${{ github.repository_owner == 'apache' && format('runs-on={0},family=m8a,cpu=8,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion', github.run_id) || ' ubuntu-latest' }}
6969 # note: do not use amd/rust container to preserve disk space
7070 steps :
71- - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
71+ - uses : runs-on/action@cd2b598b0515d39d78c38a02d529db87d2196d1e # v2.0.3
72+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
7273 with :
7374 ref : ${{ github.event.inputs.pr_head_sha }} # will be empty if triggered by push
7475 fetch-depth : 1
8081 source $HOME/.cargo/env
8182 rustup toolchain install
8283 - name : Install Protobuf Compiler
83- run : sudo apt-get install -y protobuf-compiler
84+ run : |
85+ sudo apt-get update
86+ sudo apt-get install -y protobuf-compiler
8487 - name : Prepare cargo build
8588 run : |
8689 cargo check --profile ci --all-targets
@@ -90,10 +93,12 @@ jobs:
9093 linux-test-extended :
9194 name : cargo test 'extended_tests' (amd64)
9295 needs : [linux-build-lib]
93- runs-on : ubuntu-latest
96+ runs-on : ${{ github.repository_owner == 'apache' && format('runs-on={0},family=m8a,cpu=32,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion,spot=false', github.run_id) || 'ubuntu-latest' }}
97+ # spot=false because the tests are long, https://runs-on.com/configuration/spot-instances/#disable-spot-pricing
9498 # note: do not use amd/rust container to preserve disk space
9599 steps :
96- - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
100+ - uses : runs-on/action@cd2b598b0515d39d78c38a02d529db87d2196d1e # v2.0.3
101+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
97102 with :
98103 ref : ${{ github.event.inputs.pr_head_sha }} # will be empty if triggered by push
99104 fetch-depth : 1
@@ -107,7 +112,9 @@ jobs:
107112 source $HOME/.cargo/env
108113 rustup toolchain install
109114 - name : Install Protobuf Compiler
110- run : sudo apt-get install -y protobuf-compiler
115+ run : |
116+ sudo apt-get update
117+ sudo apt-get install -y protobuf-compiler
111118 # For debugging, test binaries can be large.
112119 - name : Show available disk space
113120 run : |
@@ -134,11 +141,12 @@ jobs:
134141 # Check answers are correct when hash values collide
135142 hash-collisions :
136143 name : cargo test hash collisions (amd64)
137- runs-on : ubuntu-latest
144+ runs-on : ${{ github.repository_owner == 'apache' && format('runs-on={0},family=m8a,cpu=16,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion', github.run_id) || ' ubuntu-latest' }}
138145 container :
139146 image : amd64/rust
140147 steps :
141- - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
148+ - uses : runs-on/action@cd2b598b0515d39d78c38a02d529db87d2196d1e # v2.0.3
149+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
142150 with :
143151 ref : ${{ github.event.inputs.pr_head_sha }} # will be empty if triggered by push
144152 fetch-depth : 1
@@ -156,11 +164,13 @@ jobs:
156164
157165 sqllogictest-sqlite :
158166 name : " Run sqllogictests with the sqlite test suite"
159- runs-on : ubuntu-latest
167+ runs-on : ${{ github.repository_owner == 'apache' && format('runs-on={0},family=m8a,cpu=48,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion,spot=false', github.run_id) || 'ubuntu-latest' }}
168+ # spot=false because the tests are long, https://runs-on.com/configuration/spot-instances/#disable-spot-pricing
160169 container :
161170 image : amd64/rust
162171 steps :
163- - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
172+ - uses : runs-on/action@cd2b598b0515d39d78c38a02d529db87d2196d1e # v2.0.3
173+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
164174 with :
165175 ref : ${{ github.event.inputs.pr_head_sha }} # will be empty if triggered by push
166176 fetch-depth : 1
0 commit comments