An app for getting general info and stats about the API edpoints and their 'examples' state. #746
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: Cargo Build & Test | |
| on: | |
| pull_request: | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| build_and_test: | |
| name: compiler-rs | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Use Node.js 20 | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: Install deps | |
| run: | | |
| make setup | |
| make generate | |
| make transform-to-openapi | |
| make transform-expand-generics | |
| - name: Install Rust | |
| run: rustup update stable && rustup default stable | |
| - run: cargo build --verbose | |
| working-directory: compiler-rs | |
| - run: cargo test --verbose | |
| working-directory: compiler-rs |