Feat: Operator precedence, while loop, call_range, poptop. #50
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: pipeline | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| compiler: | |
| runs-on: &ubuntu ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: compiler | |
| steps: | |
| - uses: &checkout actions/checkout@v5 | |
| - uses: &rust dtolnay/rust-toolchain@stable | |
| - uses: &cache Swatinem/rust-cache@v2 | |
| - name: Build | |
| run: cargo build | |
| - name: Run tests | |
| run: cargo test | |
| - name: Install cargo-shear | |
| run: cargo install cargo-shear | |
| - name: Unused code | |
| run: | | |
| cargo shear | |
| cargo clippy | |
| deployment: | |
| runs-on: *ubuntu | |
| defaults: | |
| run: | |
| working-directory: deployment | |
| steps: | |
| - uses: *checkout | |
| - uses: *rust | |
| - uses: *cache | |
| - name: Build | |
| run: cargo build | |
| - name: Run tests | |
| run: cargo test | |
| - name: Install cargo-shear | |
| run: cargo install cargo-shear | |
| - name: Unused code | |
| run: | | |
| cargo shear | |
| cargo clippy |