updated CI for issue_auto_label #13
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
| # InQL CI — Incan library package | |
| # | |
| # Uses the reusable Incan composite action from the incan repository. | |
| # This eliminates copy-paste drift and provides a supported integration path. | |
| # The composite action caches built binaries for faster subsequent runs. | |
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| workflow_dispatch: | |
| concurrency: | |
| group: ci-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| CARGO_TERM_COLOR: always | |
| RUST_BACKTRACE: 1 | |
| INCAN_NO_BANNER: 1 | |
| jobs: | |
| inql: | |
| name: InQL (build + test) | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest] | |
| steps: | |
| - name: Check out InQL | |
| uses: actions/checkout@v4 | |
| - name: Install Incan (cached) | |
| uses: dannys-code-corner/incan/.github/actions/install-incan@main | |
| with: | |
| incan-ref: main | |
| incan-repo: dannys-code-corner/incan | |
| runner-os: ${{ matrix.os }} | |
| - name: Show toolchain | |
| run: | | |
| incan --version | |
| rustc --version | |
| - name: Format check (package .incn) | |
| run: make fmt-check | |
| - name: Build library | |
| run: make build | |
| - name: Run tests | |
| run: make test |