docs: add plain english 0.5 release notes #139
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: 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 |