chore: bump version to 0.1.1 #22
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, pull_request] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| with: | |
| toolchain: stable | |
| components: clippy, rustfmt | |
| - name: Install tools | |
| run: | | |
| cargo install cargo-audit cargo-deny 2>/dev/null | |
| curl -sL https://github.com/gitleaks/gitleaks/releases/download/v8.30.1/gitleaks_8.30.1_linux_x64.tar.gz | tar xz -C /usr/local/bin gitleaks | |
| - name: Format | |
| run: cargo fmt --check | |
| - name: Clippy | |
| run: cargo clippy --all-targets -- -D warnings | |
| - name: Audit | |
| run: cargo audit | |
| - name: Deny | |
| run: cargo deny check | |
| - name: Gitleaks | |
| run: gitleaks detect --source . -v --no-git | |
| - name: Test | |
| run: cargo test | |
| - name: Build release | |
| run: cargo build --release | |
| - name: Integration tests | |
| run: | | |
| python3 tests/fixtures/build_test_db.py | |
| python3 tests/mcp_integration.py | |
| - name: Upload binary | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: stria | |
| path: target/release/stria |