Use correct name for "operator new" #1349
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: lint | |
| on: [push, pull_request] | |
| jobs: | |
| build-mod: | |
| runs-on: ubuntu-22.04 | |
| name: Check | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install extra deps | |
| run: sudo apt-get update && sudo apt-get install -y libclang-dev libasound2-dev libjack-dev | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: clippy, rustfmt | |
| - uses: Swatinem/rust-cache@v2 | |
| with: | |
| workspaces: ewext -> target | |
| noita-proxy -> target | |
| - name: Check ewext for formatting | |
| run: cargo fmt --check | |
| working-directory: ./ewext | |
| - name: Check proxy for formatting | |
| run: cargo fmt --check | |
| working-directory: ./noita-proxy | |
| - name: Ask clippy for approval (ewext) | |
| run: cargo clippy -- -D clippy::all | |
| working-directory: ./ewext | |
| - name: Ask clippy for approval (proxy) | |
| run: cargo clippy -- -D clippy::all | |
| working-directory: ./noita-proxy |