ci: add dbc and duckdb driver installation to workflow #13
This file contains hidden or 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: continuous-integration | |
| on: [push] | |
| jobs: | |
| ci: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/.cargo/registry | |
| ~/.cargo/git | |
| target | |
| key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
| - name: install dbc | |
| run: curl -LsSf https://dbc.columnar.tech/install.sh | sh | |
| - name: install duckdb driver | |
| run: dbc install duckdb | |
| - name: build | |
| run: cargo build | |
| - name: lint | |
| run: cargo clippy | |
| - name: test | |
| run: cargo test |