update post: Sled, the Fast and Lightweight Rust Database #43
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: Rust Ci | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Set up Rust | |
| uses: actions/checkout@v2 | |
| - name: Install cargo-audit | |
| run: cargo install cargo-audit #for finding vulnerabilities | |
| - name: Build | |
| run: cargo build --release --verbose | |
| - name: Test | |
| run: cargo test --verbose | |
| - name: Clippy | |
| run: cargo clippy --verbose -- -D warnings | |
| - name: Audit | |
| run: cargo audit |