mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-28 11:29:25 +00:00
5e2eb436ff
Co-authored-by: Mikayla <mikayla@zed.dev> Co-authored-by: Kirill <kirill@zed.dev>
15 lines
351 B
YAML
15 lines
351 B
YAML
name: 'Check formatting'
|
|
description: 'Checks code formatting use cargo fmt'
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Install Rust
|
|
shell: bash -euxo pipefail {0}
|
|
run: |
|
|
rustup set profile minimal
|
|
rustup update stable
|
|
|
|
- name: cargo fmt
|
|
shell: bash -euxo pipefail {0}
|
|
run: cargo fmt --all -- --check
|