Skip to content

add runtime ci

add runtime ci #10

Workflow file for this run

on: [push, pull_request]
name: Rust Clippy Check
jobs:
clippy_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly
- name: Setup Clippy
run: rustup component add clippy
- name: Clippy Check in LeetCode
run: |
cd ./leetcode
cargo clippy --all-targets --all-features -- -D warnings
- name: Clippy Check in Runtime
run: |
cd ./runtime
cargo clippy --all-targets --all-features -- -D warnings