diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index 095d2965ebf20..3602b593a536e 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -41,7 +41,7 @@ permissions: jobs: security_audit: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Install cargo-audit diff --git a/.github/workflows/breaking_changes_detector.yml b/.github/workflows/breaking_changes_detector.yml index d8e983ffac1fb..f62eb4f1f6140 100644 --- a/.github/workflows/breaking_changes_detector.yml +++ b/.github/workflows/breaking_changes_detector.yml @@ -52,7 +52,7 @@ permissions: jobs: check-semver: name: Check semver - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Checkout uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 @@ -80,7 +80,7 @@ jobs: # `datafusion-substrait` (and crates that depend on it via sqllogictest) # have a build script that calls protoc, which is not preinstalled on - # ubuntu-latest runners. + # ubuntu-24.04 runners. - name: Install Protobuf Compiler if: steps.changed_crates.outputs.packages != '' run: | diff --git a/.github/workflows/breaking_changes_detector_comment.yml b/.github/workflows/breaking_changes_detector_comment.yml index f3a3400d00f9c..e0ddb252a4288 100644 --- a/.github/workflows/breaking_changes_detector_comment.yml +++ b/.github/workflows/breaking_changes_detector_comment.yml @@ -61,7 +61,7 @@ jobs: comment-on-pr: name: Comment on pull request if: github.event.workflow_run.event == 'pull_request' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 # Scoped to the minimum needed to upsert/delete the sticky comment. permissions: actions: read diff --git a/.github/workflows/dependencies.yml b/.github/workflows/dependencies.yml index dd51440d874f7..6f0f561749c7c 100644 --- a/.github/workflows/dependencies.yml +++ b/.github/workflows/dependencies.yml @@ -38,7 +38,7 @@ permissions: jobs: depcheck: name: Circular Dependency Check - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 container: image: amd64/rust steps: @@ -57,7 +57,7 @@ jobs: detect-unused-dependencies: name: Detect Unused Dependencies - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 container: image: amd64/rust steps: diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 69033bc19195a..41bbcc704ab41 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -33,7 +33,7 @@ concurrency: jobs: license-header-check: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 name: Check License Header steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 @@ -58,7 +58,7 @@ jobs: markdown-link-check: name: Check Markdown Links - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Load tool versions @@ -74,7 +74,7 @@ jobs: asf-yaml-check: name: Validate required_status_checks in .asf.yaml - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - run: pip install pyyaml @@ -82,7 +82,7 @@ jobs: typos: name: Spell Check with Typos - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 70a89311a01ca..1a85a18c8307a 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -31,7 +31,7 @@ jobs: permissions: contents: write name: Build docs - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Checkout docs sources uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 diff --git a/.github/workflows/docs_pr.yaml b/.github/workflows/docs_pr.yaml index 0002f5681677d..5423daa00028f 100644 --- a/.github/workflows/docs_pr.yaml +++ b/.github/workflows/docs_pr.yaml @@ -43,7 +43,7 @@ jobs: # Test doc build linux-test-doc-build: name: Test doc build - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: diff --git a/.github/workflows/extended.yml b/.github/workflows/extended.yml index d2f1f711754ab..fbab8a7b95703 100644 --- a/.github/workflows/extended.yml +++ b/.github/workflows/extended.yml @@ -60,7 +60,7 @@ jobs: # Run extended tests (with feature 'extended_tests') linux-test-extended: name: cargo test 'extended_tests' (amd64) - runs-on: ${{ vars.USE_RUNS_ON == 'true' && format('runs-on={0},family=m8a+m7a+c8a,cpu=32,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion', github.run_id) || 'ubuntu-latest' }} + runs-on: ${{ vars.USE_RUNS_ON == 'true' && format('runs-on={0},family=m8a+m7a+c8a,cpu=32,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion', github.run_id) || 'ubuntu-24.04' }} # note: do not use amd/rust container to preserve disk space steps: - uses: runs-on/action@efac073ea2507ec18797de3a81704201ade11d9d # v2.3.1 @@ -111,7 +111,7 @@ jobs: # Check answers are correct when hash values collide hash-collisions: name: cargo test hash collisions (amd64) - runs-on: ${{ vars.USE_RUNS_ON == 'true' && format('runs-on={0},family=m8a+m7a+c8a,cpu=16,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion', github.run_id) || 'ubuntu-latest' }} + runs-on: ${{ vars.USE_RUNS_ON == 'true' && format('runs-on={0},family=m8a+m7a+c8a,cpu=16,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion', github.run_id) || 'ubuntu-24.04' }} container: image: amd64/rust steps: @@ -133,7 +133,7 @@ jobs: sqllogictest-sqlite: name: "Run sqllogictests with the sqlite test suite" - runs-on: ${{ vars.USE_RUNS_ON == 'true' && format('runs-on={0},family=m8a+m7a+c8a,cpu=32,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion', github.run_id) || 'ubuntu-latest' }} + runs-on: ${{ vars.USE_RUNS_ON == 'true' && format('runs-on={0},family=m8a+m7a+c8a,cpu=32,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion', github.run_id) || 'ubuntu-24.04' }} container: image: amd64/rust steps: diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 86fb33a82ce04..9588ce32a9e01 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -60,7 +60,7 @@ jobs: # Check crate compiles and base cargo check passes linux-build-lib: name: linux build test - runs-on: ${{ vars.USE_RUNS_ON == 'true' && format('runs-on={0},family=m8a+m7a+c8a,cpu=8,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion', github.run_id) || 'ubuntu-latest' }} + runs-on: ${{ vars.USE_RUNS_ON == 'true' && format('runs-on={0},family=m8a+m7a+c8a,cpu=8,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion', github.run_id) || 'ubuntu-24.04' }} container: image: amd64/rust steps: @@ -86,7 +86,7 @@ jobs: linux-datafusion-common-features: name: cargo check datafusion-common features needs: linux-build-lib - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 container: image: amd64/rust steps: @@ -111,7 +111,7 @@ jobs: linux-datafusion-substrait-features: name: cargo check datafusion-substrait features needs: linux-build-lib - runs-on: ${{ vars.USE_RUNS_ON == 'true' && format('runs-on={0},family=m8a+m7a+c8a,cpu=16,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion', github.run_id) || 'ubuntu-latest' }} + runs-on: ${{ vars.USE_RUNS_ON == 'true' && format('runs-on={0},family=m8a+m7a+c8a,cpu=16,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion', github.run_id) || 'ubuntu-24.04' }} container: image: amd64/rust steps: @@ -148,7 +148,7 @@ jobs: linux-datafusion-proto-features: name: cargo check datafusion-proto features needs: linux-build-lib - runs-on: ${{ vars.USE_RUNS_ON == 'true' && format('runs-on={0},family=m8a+m7a+c8a,cpu=16,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion', github.run_id) || 'ubuntu-latest' }} + runs-on: ${{ vars.USE_RUNS_ON == 'true' && format('runs-on={0},family=m8a+m7a+c8a,cpu=16,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion', github.run_id) || 'ubuntu-24.04' }} container: image: amd64/rust steps: @@ -179,7 +179,7 @@ jobs: linux-datafusion-ffi-features: name: cargo check datafusion-ffi features needs: linux-build-lib - runs-on: ${{ vars.USE_RUNS_ON == 'true' && format('runs-on={0},family=m8a+m7a+c8a,cpu=16,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion', github.run_id) || 'ubuntu-latest' }} + runs-on: ${{ vars.USE_RUNS_ON == 'true' && format('runs-on={0},family=m8a+m7a+c8a,cpu=16,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion', github.run_id) || 'ubuntu-24.04' }} container: image: amd64/rust steps: @@ -200,7 +200,7 @@ jobs: linux-cargo-check-datafusion: name: cargo check datafusion features needs: linux-build-lib - runs-on: ${{ vars.USE_RUNS_ON == 'true' && format('runs-on={0},family=m8a+m7a+c8a,cpu=16,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion', github.run_id) || 'ubuntu-latest' }} + runs-on: ${{ vars.USE_RUNS_ON == 'true' && format('runs-on={0},family=m8a+m7a+c8a,cpu=16,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion', github.run_id) || 'ubuntu-24.04' }} container: image: amd64/rust steps: @@ -266,7 +266,7 @@ jobs: linux-cargo-check-datafusion-functions: name: cargo check datafusion-functions features needs: linux-build-lib - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 container: image: amd64/rust steps: @@ -305,7 +305,7 @@ jobs: linux-cargo-check-datafusion-spark: name: cargo check datafusion-spark features needs: linux-build-lib - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 container: image: amd64/rust steps: @@ -328,7 +328,7 @@ jobs: linux-test: name: cargo test (amd64) needs: linux-build-lib - runs-on: ${{ vars.USE_RUNS_ON == 'true' && format('runs-on={0},family=m8a+m7a+c8a,cpu=16,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion', github.run_id) || 'ubuntu-latest' }} + runs-on: ${{ vars.USE_RUNS_ON == 'true' && format('runs-on={0},family=m8a+m7a+c8a,cpu=16,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion', github.run_id) || 'ubuntu-24.04' }} container: image: amd64/rust volumes: @@ -381,7 +381,7 @@ jobs: linux-test-datafusion-cli: name: cargo test datafusion-cli (amd64) needs: linux-build-lib - runs-on: ${{ vars.USE_RUNS_ON == 'true' && format('runs-on={0},family=m8a+m7a+c8a,cpu=16,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion', github.run_id) || 'ubuntu-latest' }} + runs-on: ${{ vars.USE_RUNS_ON == 'true' && format('runs-on={0},family=m8a+m7a+c8a,cpu=16,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion', github.run_id) || 'ubuntu-24.04' }} steps: - uses: runs-on/action@efac073ea2507ec18797de3a81704201ade11d9d # v2.3.1 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 @@ -411,7 +411,7 @@ jobs: linux-test-example: name: cargo examples (amd64) needs: linux-build-lib - runs-on: ${{ vars.USE_RUNS_ON == 'true' && format('runs-on={0},family=m8a+m7a+c8a,cpu=16,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion', github.run_id) || 'ubuntu-latest' }} + runs-on: ${{ vars.USE_RUNS_ON == 'true' && format('runs-on={0},family=m8a+m7a+c8a,cpu=16,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion', github.run_id) || 'ubuntu-24.04' }} container: image: amd64/rust steps: @@ -442,7 +442,7 @@ jobs: linux-test-doc: name: cargo test doc (amd64) needs: linux-build-lib - runs-on: ${{ vars.USE_RUNS_ON == 'true' && format('runs-on={0},family=m8a+m7a+c8a,cpu=16,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion', github.run_id) || 'ubuntu-latest' }} + runs-on: ${{ vars.USE_RUNS_ON == 'true' && format('runs-on={0},family=m8a+m7a+c8a,cpu=16,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion', github.run_id) || 'ubuntu-24.04' }} container: image: amd64/rust steps: @@ -464,7 +464,7 @@ jobs: linux-rustdoc: name: cargo doc needs: linux-build-lib - runs-on: ${{ vars.USE_RUNS_ON == 'true' && format('runs-on={0},family=m8a+m7a+c8a,cpu=16,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion', github.run_id) || 'ubuntu-latest' }} + runs-on: ${{ vars.USE_RUNS_ON == 'true' && format('runs-on={0},family=m8a+m7a+c8a,cpu=16,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion', github.run_id) || 'ubuntu-24.04' }} container: image: amd64/rust steps: @@ -506,7 +506,7 @@ jobs: verify-benchmark-results: name: verify benchmark results (amd64) needs: linux-build-lib - runs-on: ${{ vars.USE_RUNS_ON == 'true' && format('runs-on={0},family=m8a+m7a+c8a,cpu=16,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion', github.run_id) || 'ubuntu-latest' }} + runs-on: ${{ vars.USE_RUNS_ON == 'true' && format('runs-on={0},family=m8a+m7a+c8a,cpu=16,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion', github.run_id) || 'ubuntu-24.04' }} container: image: amd64/rust steps: @@ -538,7 +538,7 @@ jobs: sqllogictest-postgres: name: "Run sqllogictest with Postgres runner" needs: linux-build-lib - runs-on: ${{ vars.USE_RUNS_ON == 'true' && format('runs-on={0},family=m8a+m7a+c8a,cpu=16,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion', github.run_id) || 'ubuntu-latest' }} + runs-on: ${{ vars.USE_RUNS_ON == 'true' && format('runs-on={0},family=m8a+m7a+c8a,cpu=16,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion', github.run_id) || 'ubuntu-24.04' }} container: image: amd64/rust services: @@ -575,7 +575,7 @@ jobs: sqllogictest-substrait: name: "Run sqllogictest in Substrait round-trip mode" needs: linux-build-lib - runs-on: ${{ vars.USE_RUNS_ON == 'true' && format('runs-on={0},family=m8a+m7a+c8a,cpu=16,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion', github.run_id) || 'ubuntu-latest' }} + runs-on: ${{ vars.USE_RUNS_ON == 'true' && format('runs-on={0},family=m8a+m7a+c8a,cpu=16,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion', github.run_id) || 'ubuntu-24.04' }} container: image: amd64/rust steps: @@ -635,7 +635,7 @@ jobs: vendor: name: Verify Vendored Code - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 container: image: amd64/rust steps: @@ -652,7 +652,7 @@ jobs: check-fmt: name: Check cargo fmt - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 container: image: amd64/rust steps: @@ -667,17 +667,16 @@ jobs: check-workflow-tool-installs: name: Check GitHub Actions install tooling - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Check workflow tool installs run: ci/scripts/check_no_cargo_install_in_workflows.sh - clippy: name: clippy needs: linux-build-lib - runs-on: ${{ vars.USE_RUNS_ON == 'true' && format('runs-on={0},family=m8a+m7a+c8a,cpu=16,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion', github.run_id) || 'ubuntu-latest' }} + runs-on: ${{ vars.USE_RUNS_ON == 'true' && format('runs-on={0},family=m8a+m7a+c8a,cpu=16,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion', github.run_id) || 'ubuntu-24.04' }} container: image: amd64/rust steps: @@ -704,7 +703,7 @@ jobs: cargo-toml-formatting-checks: name: check Cargo.toml formatting needs: linux-build-lib - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 container: image: amd64/rust steps: @@ -727,7 +726,7 @@ jobs: config-docs-check: name: check configs.md and ***_functions.md is up-to-date needs: linux-build-lib - runs-on: ${{ vars.USE_RUNS_ON == 'true' && format('runs-on={0},family=m8a+m7a+c8a,cpu=16,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion', github.run_id) || 'ubuntu-latest' }} + runs-on: ${{ vars.USE_RUNS_ON == 'true' && format('runs-on={0},family=m8a+m7a+c8a,cpu=16,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion', github.run_id) || 'ubuntu-24.04' }} container: image: amd64/rust steps: @@ -762,7 +761,7 @@ jobs: examples-docs-check: name: check example README is up-to-date needs: linux-build-lib - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 container: image: amd64/rust @@ -794,7 +793,7 @@ jobs: # - datafusion-cli msrv: name: Verify MSRV (Min Supported Rust Version) - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 container: image: amd64/rust steps: