Object Attributes reading + Move LCD regions to Lcd
#834
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: Rust | |
on: | |
push: | |
branches: ["main"] | |
paths: | |
- "src/**/*" | |
- "ui/**/*" | |
- "emu/**/*" | |
- ".github/workflows/**/*" | |
pull_request: | |
branches: ["main"] | |
paths: | |
- "src/**/*" | |
- "ui/**/*" | |
- "emu/**/*" | |
- ".github/workflows/**/*" | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
fmt: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Check fmt | |
run: cargo fmt --all --check | |
test: | |
needs: [fmt] | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@stable | |
- name: Test | |
run: cargo test --workspace | |
lint: | |
needs: [fmt, test] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Lint | |
run: | | |
cargo clippy --workspace -- -D warnings \ | |
-W clippy::complexity \ | |
-W clippy::correctness \ | |
-W clippy::nursery \ | |
-W clippy::perf \ | |
-W clippy::style \ | |
-W clippy::suspicious |