nyx/.github/workflows/rust.yml
elipeter aef0aea973 - Rename index.rs to database.rs for clarity in purpose
- Update references in `scan.rs` to the renamed module
- Add `cargo clippy` step to CI for linting
2025-06-16 23:54:18 +02:00

24 lines
411 B
YAML

name: Rust
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run linter
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Run tests
run: cargo test --verbose