Add request response #49
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 | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: lshoo/rust-journey/.github/actions/rust-setup@main | |
# with: | |
# fetch-depth: 0 | |
- name: Check code format | |
run: cargo fmt -- --check | |
- name: Lint rust sources | |
run: cargo clippy --all-targets --all-features --tests --benches -- -D warnings | |
- name: Execute rust tests | |
run: cargo nextest run --workspace --all-features | |