mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -04:00
Lint vertical spacing in the code (#3224)
* Lint vertical spacing in the code * Add some vertical spacing for readability
This commit is contained in:
7
.github/workflows/rust.yml
vendored
7
.github/workflows/rust.yml
vendored
@@ -1,6 +1,6 @@
|
||||
on: [push, pull_request]
|
||||
|
||||
name: CI
|
||||
name: Rust
|
||||
|
||||
env:
|
||||
# web_sys_unstable_apis is required to enable the web_sys clipboard API which eframe web uses,
|
||||
@@ -37,6 +37,9 @@ jobs:
|
||||
- name: Rustfmt
|
||||
run: cargo fmt --all -- --check
|
||||
|
||||
- name: Lint vertical spacing
|
||||
run: ./scripts/lint.py
|
||||
|
||||
- name: Install cargo-cranky
|
||||
uses: baptiste0928/cargo-install@v1
|
||||
with:
|
||||
@@ -145,7 +148,7 @@ jobs:
|
||||
rust-version: "1.65.0"
|
||||
log-level: error
|
||||
command: check
|
||||
arguments: ${{ matrix.flags }} --target ${{ matrix.target }}
|
||||
arguments: --target ${{ matrix.target }}
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user