ci: do not document dependencies #45
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: Check | |
on: push | |
jobs: | |
format: | |
runs-on: [self-hosted, linux] | |
steps: | |
- uses: actions/checkout@v4 | |
- run: cargo fmt --check | |
doc: | |
runs-on: [self-hosted, linux] | |
steps: | |
- uses: actions/checkout@v4 | |
- run: cargo doc --all-features --no-deps | |
offline: | |
runs-on: [self-hosted, linux] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Check debug compilation | |
run: cargo build | |
- name: Check release compilation | |
run: cargo build --release | |
- name: Clippy | |
run: cargo clippy --all-targets | |
- name: Unit tests | |
run: cargo test | |
online: | |
runs-on: [self-hosted, linux] | |
needs: offline | |
steps: | |
- name: Check debug compilation | |
run: cargo build --features network | |
- name: Check release compilation | |
run: cargo build --release --features network | |
- name: Clippy | |
run: cargo clippy --features network --all-targets | |
- name: Unit tests | |
run: cargo test --features network --all-targets |