chore: bump datafusion #46
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
merge_group: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '**.md' | |
pull_request: | |
paths-ignore: | |
- '**.md' | |
# Common environment variables | |
env: | |
RUSTFLAGS: "-C debuginfo=1" | |
CARGO_TERM_COLOR: always | |
RUST_BACKTRACE: "1" | |
LOCK_FILE: Cargo.lock | |
jobs: | |
style-check: | |
name: style-check | |
runs-on: ubuntu-latest | |
timeout-minutes: 60 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- run: | | |
rustup set auto-self-update disable | |
rustup toolchain install $(cat rust-toolchain) --profile minimal | |
rustup component add clippy | |
rustup component add rustfmt | |
- name: Cache Rust Dependencies | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.cargo | |
./target | |
key: debug-${{ runner.os }} | |
restore-keys: | | |
debug-${{ runner.os }} | |
debug- | |
- name: Setup Build Environment | |
run: | | |
sudo apt update | |
sudo apt install --yes protobuf-compiler | |
- name: Run Style Check | |
run: | | |
make clippy | |
make fmt | |
- name: Build | |
run: | | |
cargo build --workspace |