Big refactor: move from top level exports to array:: and scalar:: (#12) #26
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: Rust Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
fmt: | |
name: rustfmt | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Rust | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
components: rustfmt, clippy | |
- uses: Swatinem/rust-cache@v2 | |
- name: Cargo fmt | |
run: cargo fmt --all -- --check | |
# Note not sure why this is needed | |
- name: Install protobuf | |
run: | | |
sudo apt-get install libprotobuf-dev protobuf-compiler | |
- run: sudo apt install libgeos-dev | |
- name: "clippy --all" | |
run: cargo clippy --all --all-features --tests -- -D warnings | |
- name: "cargo check" | |
run: cargo check --all --all-features | |
- name: "cargo test" | |
run: | | |
cargo test --all | |
cargo test --all --all-features |