Skip to content

docs: record 0.5 release truth and onboarding #140

docs: record 0.5 release truth and onboarding

docs: record 0.5 release truth and onboarding #140

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: "-D warnings"
jobs:
check:
name: Check + Clippy + Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
- uses: Swatinem/rust-cache@v2
with:
workspaces: elastos
- name: cargo fmt
working-directory: elastos
run: cargo fmt --all -- --check
- name: architecture entropy checks
run: |
bash scripts/check-wci-alignment.sh
node scripts/home-entropy-check.mjs
node scripts/browser-entropy-check.mjs
- name: cargo clippy
working-directory: elastos
run: cargo clippy --workspace --all-targets -- -D warnings
- name: cargo check
working-directory: elastos
run: cargo check --workspace
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
workspaces: elastos
- name: cargo test
working-directory: elastos
run: cargo test --workspace
# Network-sensitive tests are #[ignore] and won't run.
# Run them explicitly with: cargo test --workspace -- --ignored
build-release:
name: Build Release (x86_64)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
workspaces: elastos
- name: cargo build --release
working-directory: elastos
run: cargo build --workspace --release