feat: Nest all code as independent submodlue #204
This file contains 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: ["master"] | |
pull_request: | |
branches: ["master"] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions-rust-lang/setup-rust-toolchain@v1 | |
- name: Build | |
run: cargo build --verbose | |
- name: Run tests | |
run: cargo test --verbose | |
- name: Check format | |
run: cargo fmt -- --check | |
- name: Check clippy | |
run: cargo clippy -- -D warnings | |
- name: Check docs | |
run: cargo doc --no-deps | |
- name: Install cargo-show-asm and cargo-readme | |
run: cargo install cargo-show-asm cargo-readme | |
- name: Check asm is up-to-date | |
run: ./asm.sh | |
- name: Check that `README.md` is up-to-date | |
run: cargo readme | diff -u README.md - |