Bump muxio-tokio-rpc-server from 0.9.0-alpha to 0.10.0-alpha #294
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 Lint | |
| on: [push, pull_request] | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: dtolnay/rust-toolchain@stable | |
| # Note: This is a workaround for an issue that just started appearing in lint checks | |
| # and I'm not yet sure if it's due to GitHub Actions having updated something behind | |
| # the scenes: | |
| # error: 'cargo-fmt' is not installed for the toolchain 'stable-x86_64-unknown-linux-gnu' | |
| - name: Install rustfmt | |
| run: rustup component add rustfmt clippy | |
| - name: Install tools | |
| run: | | |
| cargo install cargo-deny | |
| cargo install cargo-audit | |
| # Check formatting across the entire workspace | |
| - name: Check formatting | |
| run: cargo fmt --all -- --check | |
| # Run Clippy with all targets and features across workspace | |
| - name: Run Clippy | |
| run: cargo clippy --workspace --all-targets --all-features -- -D warnings | |
| # Fail if any documentation warnings occur | |
| - name: Check documentation | |
| run: RUSTDOCFLAGS="-D warnings" cargo doc --workspace --no-deps --document-private-items | |
| # Security: cargo-deny across workspace | |
| - name: Run cargo-deny | |
| run: cargo deny check # Note: Apparently `-- --workspace` is not valid here | |
| # Security: cargo-audit on root Cargo.lock | |
| - name: Run cargo-audit | |
| run: cargo audit |