REL: version 0.12.1 #11
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
--- | |
# configuration for GitHub Actions | |
name: rerobots Rust client library tests | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- run: rustup toolchain install stable --profile minimal | |
- uses: Swatinem/rust-cache@v2 | |
- name: Prepare to build | |
run: | | |
mkdir keys | |
touch keys/public.pem | |
- name: Lint | |
run: | | |
cargo fmt --check | |
cargo check | |
cargo clippy --tests -- -D clippy::all | |
- name: Run tests | |
run: | | |
cargo test |