Skip to content

fix(isac): correct bibliographic reference, clarify CRB model assumptions #77

fix(isac): correct bibliographic reference, clarify CRB model assumptions

fix(isac): correct bibliographic reference, clarify CRB model assumptions #77

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- run: cargo test --workspace
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- uses: Swatinem/rust-cache@v2
- run: cargo clippy --workspace -- -D warnings
fmt:
name: Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- run: cargo fmt --all -- --check
dep-graph:
name: Dependency Graph
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Check dependency graph
run: cargo tree --workspace --edges normal | python3 scripts/check_dep_graph.py
doc-sync:
name: Doc-Code Sync
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check doc-code sync
run: python3 scripts/check_doc_sync.py
primitive-leakage:
name: Type Safety
runs-on: ubuntu-latest
# Advisory: flags bare f64 parameters that should use domain newtypes.
# Existing violations will be fixed as new newtypes are added to 6g-common.
continue-on-error: true
steps:
- uses: actions/checkout@v4
- name: Check primitive leakage at public API boundaries
run: python3 scripts/check_primitive_leakage.py
baseline-comparison:
name: Level-2 Baseline Comparison (PHY)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Run PHY Level-2 baseline comparison tests
run: cargo test -p sixg-phy --features=baseline-comparison
final-check:
name: Final Check (format + doc-sync)
runs-on: ubuntu-latest
needs: [test, clippy, fmt, doc-sync, dep-graph, baseline-comparison]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: Verify formatting
run: cargo fmt --all -- --check
- name: Verify doc-code sync
run: python3 scripts/check_doc_sync.py