action.yml

 1name: "Check formatting"
 2description: "Checks code formatting use cargo fmt"
 3
 4runs:
 5    using: "composite"
 6    steps:
 7        - name: cargo fmt
 8          shell: bash -euxo pipefail {0}
 9          run: cargo fmt --all -- --check
10
11        - name: cargo clippy
12          shell: bash -euxo pipefail {0}
13          # clippy.toml is not currently supporting specifying allowed lints
14          # so specify those here, and disable the rest until Zed's workspace
15          # will have more fixes & suppression for the standard lint set
16          run: |
17              cargo clippy --workspace --all-features --all-targets -- -A clippy::all -D clippy::dbg_macro -D clippy::todo