Monaco Editor에 oxlint 린터 적용하여 에디터에 표기 기능 추가 (#22) #40
This file contains hidden or 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 Lint | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - "apps/executeJS/src-tauri/**" | |
| - "crates/**" | |
| - "Cargo.toml" | |
| - "Cargo.lock" | |
| - "rustfmt.toml" | |
| - ".github/workflows/rust-lint.yml" | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - "apps/executeJS/src-tauri/**" | |
| - "crates/**" | |
| - "Cargo.toml" | |
| - "Cargo.lock" | |
| - "rustfmt.toml" | |
| jobs: | |
| rust-lint: | |
| name: Rust Lint Check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Rust toolchain | |
| uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| with: | |
| toolchain: stable | |
| components: rustfmt | |
| cache: true | |
| matcher: true | |
| - name: Check Rust formatting | |
| run: | | |
| echo "Checking Rust code formatting..." | |
| cargo fmt --all -- --check |