Skip to content

Make compilation to fail on warnings #1

Make compilation to fail on warnings

Make compilation to fail on warnings #1

---
name: Rust
"on":
push:
branches: [master]
pull_request:
branches: [master]
env:
CARGO_TERM_COLOR: always
jobs:
basic-compilation:
name: Compilation with no warnings
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Check compilation (no warnings)
run: RUSTFLAGS="-D warnings" cargo build
- name: Check test compilation (no warnings)
run: RUSTFLAGS="-D warnings" cargo test