Fix the VFS::ls and VFS::ls_recursive APIs #45
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 | |
# Make sure CI fails on all warnings, including Clippy lints | |
env: | |
RELEASES_URL: "https://github.com/TileDB-Inc/TileDB/releases/download" | |
jobs: | |
build_and_test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
- uses: Swatinem/rust-cache@v2 | |
- name: Install TileDB | |
run: | | |
set -e pipefail | |
mkdir -p /opt/tiledb | |
cd /opt/tiledb | |
wget -q ${RELEASES_URL}/2.21.0/tiledb-linux-x86_64-2.21.0-0ea9c13.tar.gz | |
wget -q ${RELEASES_URL}/2.21.0/tiledb-linux-x86_64-2.21.0-0ea9c13.tar.gz.sha256 | |
sha256sum tiledb*.sha256 | |
tar -C /opt/tiledb -xzf tiledb*.tar.gz | |
- 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 |