update: adding rationale for update_state_blob_with_impersonation_wor… #6
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: Task - Linters Cargo | |
on: | |
workflow_dispatch: | |
workflow_call: | |
push: | |
jobs: | |
cargo-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
# selecting a toolchain either by action or manual `rustup` calls should happen | |
# before the plugin, as the cache uses the current rustc version as its cache key | |
- run: rustup show | |
- uses: Swatinem/rust-cache@v2 | |
- name: Format and clippy | |
run: | | |
cargo fmt -- --check | |
cargo clippy --no-deps -- -D warnings | |
cargo clippy --tests --no-deps -- -D warnings |