File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments