add Rust support #15
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: "Rust Checks" | |
on: | |
pull_request: | |
paths: | |
- ".github/workflows/rust-checks.yml" | |
- "rust/**" | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build_and_test: | |
name: kuliya - latest | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
toolchain: | |
- stable | |
- beta | |
- nightly | |
steps: | |
- uses: actions/checkout@v3 | |
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }} | |
- run: cd rust && cargo build --verbose | |
- run: cd rust && cargo test --verbose |