Files
moss-kernel/.github/workflows/ci.yml
Ashwin Naren 2dc3bb3a06 Fix clippy (#314)
* fix clippy

* fix kunit

* fix workflow name
2026-06-30 22:12:33 -07:00

36 lines
793 B
YAML

name: CI
on:
push:
branches: [ master ]
workflow_dispatch:
pull_request:
branches: [ master ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
# Use the toolchain from rust-toolchain.toml
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Verify installed toolchain and targets
run: |
rustc --version
rustup show
rustup target list --installed
- name: Check formatting
run: cargo fmt --all -- --check
- name: Run clippy
run: cargo clippy -- -D warnings
- name: Run unit tests for libkernel
run: cargo test -p libkernel --target x86_64-unknown-linux-gnu --all-features