feat(db): init fsn-core.db and fsn-bus.db at Node CLI startup #7
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", "dev"] | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt, clippy | |
| - uses: Swatinem/rust-cache@v2 | |
| with: | |
| workspaces: cli | |
| - name: Check formatting | |
| working-directory: cli | |
| run: cargo fmt --all -- --check | |
| - name: Clippy | |
| working-directory: cli | |
| run: cargo clippy --all -- -D warnings | |
| - name: Build all crates | |
| working-directory: cli | |
| run: cargo build --all | |
| - name: Run tests | |
| working-directory: cli | |
| run: cargo test --all | |
| - name: cargo-deny (licenses + advisories) | |
| uses: EmbarkStudios/cargo-deny-action@v2 | |
| with: | |
| manifest-path: cli/Cargo.toml |