chore: use RUSTFLAGS to uplift warnings #32
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Mexx - Continuous Integration | |
on: | |
- push | |
- pull_request | |
env: | |
RUSTFLAGS: -D warnings # treat warnings as errors | |
CARGO_TERM_COLOR: always | |
jobs: | |
build_and_test: | |
strategy: | |
matrix: | |
os: | |
- macos-latest | |
- ubuntu-latest | |
- windows-latest | |
name: Cargo - Build & Test - ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- run: rustup update stable && rustup default stable | |
- run: cargo clippy | |
- run: cargo build | |
- run: cargo test |