chore:add basic streaming tests #1533
Workflow file for this run
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: Clippy | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- '**.rs' | |
- '**.toml' | |
pull_request: | |
branches: | |
- main | |
paths: | |
- '**.rs' | |
- '**.toml' | |
jobs: | |
clippy: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
security-events: write | |
actions: read | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install rust | |
run: | | |
rustup set auto-self-update disable | |
rustup toolchain install stable --profile default | |
rustup show | |
- name: Rust cache | |
uses: Swatinem/rust-cache@v2 | |
- name: Install required cargo packages for reporting format | |
run: cargo install clippy-sarif sarif-fmt | |
- name: Run rust-clippy | |
run: | | |
cargo clippy --all-features -- -D warnings | |