Create logger
and disassembler
feature default disabled
#838
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: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup just | |
uses: extractions/setup-just@v1 | |
- uses: actions/checkout@v4 | |
- name: Check fmt | |
run: cargo fmt -- --check | |
- name: Check clippy | |
run: just lint | |
test: | |
needs: [lint] | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Setup just | |
uses: extractions/setup-just@v1 | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
- name: Test | |
run: just test |