Api docs #178
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: Build | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '**/*.md' | |
- 'docker/**' | |
pull_request: | |
branches: | |
- main | |
paths-ignore: | |
- '**/*.md' | |
- 'docker/**' | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout repository content" | |
uses: actions/checkout@v3 | |
- name: "Install needed rust toolchain stable" | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
components: clippy, rustfmt | |
- name: "check formating" | |
run: cargo fmt --check --all | |
- name: "Building project to see if it compiles and does not produce any warnings" | |
run: cargo clippy --all -- -Dwarnings | |
- name: "Checking if all unit tests pass" | |
run: cargo test --workspace --verbose | |