Skip to content

Commit c933675

Browse files
committed
ci: remove redundant job
1 parent 904662c commit c933675

File tree

1 file changed

+0
-54
lines changed

1 file changed

+0
-54
lines changed

.github/workflows/check-rust.yml

Lines changed: 0 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -218,60 +218,6 @@ jobs:
218218
- name: cargo test --workspace --features=runtime-benchmarks
219219
run: cargo test --workspace --features=runtime-benchmarks
220220

221-
# runs cargo clippy
222-
clippy:
223-
name: cargo clippy
224-
runs-on: SubtensorCI
225-
strategy:
226-
matrix:
227-
rust-branch:
228-
- nightly-2024-03-05
229-
rust-target:
230-
- x86_64-unknown-linux-gnu
231-
# - x86_64-apple-darwin
232-
os:
233-
- ubuntu-latest
234-
# - macos-latest
235-
include:
236-
- os: ubuntu-latest
237-
# - os: macos-latest
238-
env:
239-
RELEASE_NAME: development
240-
# RUSTFLAGS: -A warnings
241-
RUSTV: ${{ matrix.rust-branch }}
242-
RUST_BACKTRACE: full
243-
RUST_BIN_DIR: target/${{ matrix.rust-target }}
244-
SKIP_WASM_BUILD: 1
245-
TARGET: ${{ matrix.rust-target }}
246-
steps:
247-
- name: Check-out repository under $GITHUB_WORKSPACE
248-
uses: actions/checkout@v2
249-
250-
- name: Install dependencies
251-
run: |
252-
sudo apt-get update &&
253-
sudo apt-get install -y clang curl libssl-dev llvm libudev-dev protobuf-compiler
254-
255-
- name: Install Rust ${{ matrix.rust-branch }}
256-
uses: actions-rs/[email protected]
257-
with:
258-
toolchain: ${{ matrix.rust-branch }}
259-
components: rustfmt, clippy
260-
profile: minimal
261-
262-
- name: Utilize Rust shared cached
263-
uses: Swatinem/[email protected]
264-
with:
265-
key: ${{ matrix.os }}-${{ env.RUST_BIN_DIR }}
266-
267-
- name: cargo clippy
268-
run: |
269-
cargo clippy -- -D clippy::panic \
270-
-D clippy::todo \
271-
-D clippy::unimplemented
272-
# -D clippy::indexing_slicing \
273-
# -D clippy::unwrap_used \
274-
275221
# ensures cargo fix has no trivial changes that can be applied
276222
cargo-fix:
277223
name: cargo fix

0 commit comments

Comments
 (0)