Refactor StrapdownState to properly utilize Default and new() #40
Workflow file for this run
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: Test, Lint, and Build Rust Project | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: lint | |
| run: cargo clippy --fix | |
| - name: format | |
| run: cargo fmt --all | |
| - name: Build | |
| run: cargo build | |
| - name: Run tests | |
| run: cargo test |