@@ -272,18 +272,6 @@ jobs:
272272 volumes :
273273 - /usr/local:/host/usr/local
274274 steps :
275- - name : Remove unnecessary preinstalled software
276- run : |
277- echo "Disk space before cleanup:"
278- df -h
279- # remove tool cache: about 8.5GB (github has host /opt/hostedtoolcache mounted as /__t)
280- rm -rf /__t/* || true
281- # remove Haskell runtime: about 6.3GB (host /usr/local/.ghcup)
282- rm -rf /host/usr/local/.ghcup || true
283- # remove Android library: about 7.8GB (host /usr/local/lib/android)
284- rm -rf /host/usr/local/lib/android || true
285- echo "Disk space after cleanup:"
286- df -h
287275 - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
288276 with :
289277 submodules : true
@@ -374,19 +362,6 @@ jobs:
374362 with :
375363 save-if : ${{ github.ref_name == 'main' }}
376364 shared-key : " amd-ci-linux-test-example"
377- - name : Remove unnecessary preinstalled software
378- run : |
379- echo "Disk space before cleanup:"
380- df -h
381- apt-get clean
382- rm -rf /__t/CodeQL
383- rm -rf /__t/PyPy
384- rm -rf /__t/Java_Temurin-Hotspot_jdk
385- rm -rf /__t/Python
386- rm -rf /__t/go
387- rm -rf /__t/Ruby
388- echo "Disk space after cleanup:"
389- df -h
390365 - name : Run examples
391366 run : |
392367 # test datafusion-sql examples
@@ -446,7 +421,7 @@ jobs:
446421 sudo apt-get update -qq
447422 sudo apt-get install -y -qq clang
448423 - name : Setup wasm-pack
449- uses : taiki-e/install-action@92e6dd1c202153a204d471a3c509bf1e03dcfa44 # v2.62.61
424+ uses : taiki-e/install-action@3522286d40783523f9c7880e33f785905b4c20d0 # v2.66.1
450425 with :
451426 tool : wasm-pack
452427 - name : Run tests with headless mode
@@ -734,6 +709,23 @@ jobs:
734709 ./dev/update_function_docs.sh
735710 git diff --exit-code
736711
712+ examples-docs-check :
713+ name : check example README is up-to-date
714+ needs : linux-build-lib
715+ runs-on : ubuntu-latest
716+ container :
717+ image : amd64/rust
718+
719+ steps :
720+ - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
721+ with :
722+ submodules : true
723+ fetch-depth : 1
724+
725+ - name : Run examples docs check script
726+ run : |
727+ bash ci/scripts/check_examples_docs.sh
728+
737729 # Verify MSRV for the crates which are directly used by other projects:
738730 # - datafusion
739731 # - datafusion-substrait
@@ -749,7 +741,7 @@ jobs:
749741 - name : Setup Rust toolchain
750742 uses : ./.github/actions/setup-builder
751743 - name : Install cargo-msrv
752- uses : taiki-e/install-action@92e6dd1c202153a204d471a3c509bf1e03dcfa44 # v2.62.61
744+ uses : taiki-e/install-action@3522286d40783523f9c7880e33f785905b4c20d0 # v2.66.1
753745 with :
754746 tool : cargo-msrv
755747
0 commit comments