fix: Apply clippy suggestions and skip stable clippy in CI #461
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: bsky-sdk | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| branches: ["main"] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0 | |
| - name: Build | |
| run: | | |
| cargo build -p bsky-sdk --verbose | |
| cargo build -p bsky-sdk --verbose --no-default-features | |
| cargo build -p bsky-sdk --verbose --no-default-features --features default-client | |
| cargo build -p bsky-sdk --verbose --no-default-features --features rich-text | |
| cargo build -p bsky-sdk --verbose --all-features | |
| - name: Run tests | |
| run: | | |
| cargo test -p bsky-sdk | |
| cargo test -p bsky-sdk --lib --no-default-features | |
| cargo test -p bsky-sdk --lib --no-default-features --features default-client | |
| cargo test -p bsky-sdk --lib --no-default-features --features rich-text | |
| cargo test -p bsky-sdk --lib --all-features |