Skip to content

Merge branch 'main' into feat/alerts-module #21

Merge branch 'main' into feat/alerts-module

Merge branch 'main' into feat/alerts-module #21

Workflow file for this run

---
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