feat(function-lint): add Self-return patterns and MustNotExist rule for builder-style APIs #71
Workflow file for this run
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: PR Build | |
| permissions: | |
| contents: read | |
| on: | |
| pull_request: | |
| env: | |
| # Faster from-scratch builds | |
| CARGO_INCREMENTAL: 0 | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest-dd | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y | |
| - run: . $HOME/.cargo/env && rustup update | |
| - run: . $HOME/.cargo/env && cargo build --release --all | |
| - run: . $HOME/.cargo/env && cargo test | |
| - name: Check formatting | |
| run: . $HOME/.cargo/env && cargo fmt --all -- --check | |
| - name: Check clippy lints | |
| run: . $HOME/.cargo/env && cargo clippy --all-targets --all-features -- -D warnings | |
| - run: test_app/scripts/validate-against-expected.sh |