deploy balancer to prod and enable balancing on monolith #1551
Workflow file for this run
This file contains hidden or 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: [ "master" ] | |
pull_request: | |
env: | |
CARGO_TERM_COLOR: always | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- run: rustup component add clippy rustfmt | |
- uses: actions/checkout@v4 | |
- name: Rust Cache | |
uses: Swatinem/[email protected] | |
- name: Check format | |
run: cargo fmt --all -- --check | |
- name: Check | |
run: cargo check --verbose --all-targets --all-features | |
- name: Clippy | |
run: cargo clippy --workspace --no-deps --all-features --all-targets -- -D warnings | |
- name: Validate documentation | |
run: cargo doc --workspace --no-deps --all-features | |
- name: Run tests | |
run: cargo test --verbose |