Fix nightly build CI workflow #91
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
on: | |
workflow_call: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
- refs/tags/* | |
pull_request: | |
branches: | |
- '*' # must quote since "*" is a YAML reserved character; we want a string | |
concurrency: | |
group: ${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
name: Stable Build and Test | |
jobs: | |
build_and_test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout tiledb-rs | |
uses: actions/checkout@v4 | |
- name: Install Rust Stable | |
uses: dtolnay/rust-toolchain@stable | |
- name: Setup Rustc Cache | |
uses: Swatinem/rust-cache@v2 | |
- name: Install TileDB | |
uses: ./.github/actions/install-tiledb.yml | |
- name: Check Formatting | |
run: cargo fmt --quiet --check | |
- name: Lint | |
run: cargo clippy --all-targets --all-features -- -Dwarnings | |
- name: Build | |
run: cargo build --all-targets --all-features | |
- name: Test | |
run: cargo test --all-targets --all-features |