Skip to content

Commit 36e5686

Browse files
committed
[workflow] Move lint back into ci.yml
I like the UI better this way
1 parent 8172dc8 commit 36e5686

2 files changed

Lines changed: 28 additions & 33 deletions

File tree

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,31 @@ jobs:
9191
- name: Setup rust
9292
run: rustup toolchain install --profile minimal stable && rustup default stable
9393
- run: cargo test --no-default-features -F "${{ matrix.features }}" --verbose
94+
95+
lint:
96+
name: Lint
97+
runs-on: ubuntu-latest
98+
steps:
99+
- uses: actions/checkout@v4
100+
- run: git submodule update --init
101+
102+
- uses: actions/cache@v4
103+
with:
104+
path: |
105+
~/.cache/uv/
106+
~/.cargo/bin/
107+
~/.cargo/registry/index/
108+
~/.cargo/registry/cache/
109+
~/.cargo/git/db/
110+
.venv/
111+
target/
112+
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
113+
114+
- name: Setup rust
115+
run: rustup toolchain install --profile minimal -c rustfmt,clippy nightly && rustup default nightly
116+
117+
- name: rustfmt
118+
run: cargo fmt --check
119+
120+
- name: Cargo check
121+
run: cargo check

.github/workflows/lint.yml

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)