This is an automated email from the ASF dual-hosted git repository.
martin-g pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion-ballista.git
The following commit(s) were added to refs/heads/main by this push:
new 7e6b99661 chore(ci): Use MacOS Github hosted runners for the small CI
checks (#1810)
7e6b99661 is described below
commit 7e6b996616692563712fe3aa584b37041ba0c801
Author: Martin Grigorov <[email protected]>
AuthorDate: Sat Jun 6 16:33:49 2026 +0300
chore(ci): Use MacOS Github hosted runners for the small CI checks (#1810)
---
.github/workflows/codeql.yml | 4 +--
.github/workflows/dependencies.yml | 5 +--
.github/workflows/dev.yml | 6 ++--
.github/workflows/dev_pr.yml | 2 +-
.github/workflows/docs.yaml | 4 +--
.github/workflows/rust.yml | 64 +++++++++++++++-----------------------
6 files changed, 34 insertions(+), 51 deletions(-)
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index f91f81aa6..0bb26bbe8 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -20,7 +20,7 @@ name: "CodeQL"
on:
push:
- branches: ["main"]
+ branches: [ "main" ]
paths:
- ".github/**"
pull_request:
@@ -35,7 +35,7 @@ permissions:
jobs:
analyze:
name: Analyze Actions
- runs-on: ubuntu-latest
+ runs-on: macos-latest
permissions:
contents: read
security-events: write
diff --git a/.github/workflows/dependencies.yml
b/.github/workflows/dependencies.yml
index 4861dab05..d488908b5 100644
--- a/.github/workflows/dependencies.yml
+++ b/.github/workflows/dependencies.yml
@@ -39,13 +39,10 @@ on:
jobs:
depcheck:
name: msrv dependency check
- runs-on: ubuntu-latest
- container:
- image: amd64/rust
+ runs-on: macos-latest
steps:
- uses: actions/[email protected]
with:
- submodules: true
fetch-depth: 1
- name: Setup Rust toolchain
uses: ./.github/actions/setup-builder
diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml
index f0c91e155..a640ec400 100644
--- a/.github/workflows/dev.yml
+++ b/.github/workflows/dev.yml
@@ -18,7 +18,7 @@
name: Dev
on:
push:
- branches: ["main"]
+ branches: [ "main" ]
pull_request:
concurrency:
@@ -28,7 +28,7 @@ concurrency:
jobs:
rat:
name: Release Audit Tool (RAT)
- runs-on: ubuntu-latest
+ runs-on: macos-latest
steps:
- name: Checkout
uses: actions/[email protected]
@@ -41,7 +41,7 @@ jobs:
prettier:
name: Use prettier to check formatting of documents
- runs-on: ubuntu-latest
+ runs-on: macos-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 #
v5.0.1
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e #
v6.4.0
diff --git a/.github/workflows/dev_pr.yml b/.github/workflows/dev_pr.yml
index e4e68fb01..106463a20 100644
--- a/.github/workflows/dev_pr.yml
+++ b/.github/workflows/dev_pr.yml
@@ -31,7 +31,7 @@ on:
jobs:
process:
name: Process
- runs-on: ubuntu-latest
+ runs-on: macos-latest
steps:
- name: Assign GitHub labels
if: |
diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml
index 73bfc6306..366162a78 100644
--- a/.github/workflows/docs.yaml
+++ b/.github/workflows/docs.yaml
@@ -17,7 +17,7 @@
on:
push:
- branches: ["main"]
+ branches: [ "main" ]
paths:
- .asf.yaml
- .github/workflows/docs.yaml
@@ -28,7 +28,7 @@ name: Deploy DataFusion Ballista site
jobs:
build-docs:
name: Build docs
- runs-on: ubuntu-latest
+ runs-on: macos-latest
steps:
- name: Checkout docs sources
uses: actions/[email protected]
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index 164d0379f..4cc4caff8 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -23,7 +23,7 @@ concurrency:
on:
push:
- branches: ["main"]
+ branches: [ "main" ]
paths:
- "ballista/**"
- "ballista-cli/**"
@@ -136,7 +136,7 @@ jobs:
cargo check --profile ci -p ballista-scheduler -p ballista-executor
-p ballista-core -p ballista --no-default-features --locked
ballista-test:
- name: test linux balista
+ name: test linux ballista
runs-on: ubuntu-latest
container:
image: amd64/rust
@@ -219,9 +219,7 @@ jobs:
lint:
name: Lint
- runs-on: ubuntu-latest
- container:
- image: amd64/rust
+ runs-on: macos-latest
steps:
- uses: actions/[email protected]
- name: Setup toolchain
@@ -235,59 +233,47 @@ jobs:
clippy:
name: Clippy
- runs-on: ubuntu-latest
- strategy:
- matrix:
- arch: [amd64]
- rust: [stable]
- container:
- image: ${{ matrix.arch }}/rust
- env:
- # Disable full debug symbol generation to speed up CI build and keep
memory down
- # "1" means line tables only, which is useful for panic tracebacks.
- RUSTFLAGS: "-C debuginfo=1"
+ runs-on: macos-latest
+ env:
+ # Disable full debug symbol generation to speed up CI build and keep
memory down
+ # "1" means line tables only, which is useful for panic tracebacks.
+ RUSTFLAGS: "-C debuginfo=1"
steps:
- uses: actions/[email protected]
with:
- submodules: true
fetch-depth: 1
- name: Setup Rust toolchain
- uses: ./.github/actions/setup-builder
- with:
- rust-version: ${{ matrix.rust }}
- - uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4
#2.9.1
- - name: Install Clippy
run: |
+ rustup toolchain install stable
+ rustup default stable
rustup component add clippy
+ - name: Install protoc
+ run: brew install protobuf
+ - uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4
#2.9.1
- name: Run clippy
run: ci/scripts/rust_clippy.sh
cargo-toml-formatting-checks:
name: Check Cargo.toml formatting
- runs-on: ubuntu-latest
- strategy:
- matrix:
- arch: [amd64]
- rust: [stable]
- container:
- image: ${{ matrix.arch }}/rust
- env:
- # Disable full debug symbol generation to speed up CI build and keep
memory down
- # "1" means line tables only, which is useful for panic tracebacks.
- RUSTFLAGS: "-C debuginfo=1"
+ runs-on: macos-latest
+ env:
+ # Disable full debug symbol generation to speed up CI build and keep
memory down
+ # "1" means line tables only, which is useful for panic tracebacks.
+ RUSTFLAGS: "-C debuginfo=1"
steps:
- uses: actions/[email protected]
with:
- submodules: true
fetch-depth: 1
- name: Setup Rust toolchain
- uses: ./.github/actions/setup-builder
- with:
- rust-version: ${{ matrix.rust }}
+ run: |
+ rustup toolchain install stable
+ rustup default stable
- uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4
#2.9.1
- name: Install cargo-tomlfmt
- run: |
- which cargo-tomlfmt || cargo install cargo-tomlfmt
+ uses: taiki-e/install-action@e49978b799e49ff429d162b7a30601a569ab6538
# v2.81.1
+ with:
+ tool: [email protected]
+
- name: Check Cargo.toml formatting
run: |
# if you encounter error, try rerun the command below, finally run
'git diff' to
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]