Skip to content

chore(ui, api): update config for deployment (#510) #28

chore(ui, api): update config for deployment (#510)

chore(ui, api): update config for deployment (#510) #28

Workflow file for this run

name: ci-websocket
on:
push:
branches: [main, release/*, release]
pull_request:
workflow_call:
env:
CARGO_INCREMENTAL: 0
CARGO_NET_RETRY: 10
RUSTUP_MAX_RETRIES: 10
RUST_BACKTRACE: short
defaults:
run:
working-directory: websocket
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
- name: Cache cargo registry
uses: Swatinem/rust-cache@v2
with:
workspaces: websocket
shared-key: "websocket-ci"
- name: Install required tools
uses: taiki-e/install-action@v2
with:
tool: taplo-cli,cargo-make
- name: Check
run: cargo make check
- name: Rustfmt
run: cargo fmt --all -- --check
- name: Clippy
run: cargo make clippy
- name: Taplo
run: taplo fmt --check
- name: Run tests
run: cargo make test