name: Report on: pull_request: branches: [main] push: branches: [main] jobs: report: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 # cli-action v1.0.0 calls flags that bino no longer has, so install bino directly - name: Install bino run: | curl -fsSL https://github.com/bino-bi/bino-cli-releases/releases/latest/download/install.sh -o /tmp/install-bino.sh bash /tmp/install-bino.sh --yes echo "$HOME/.local/bin" >> "$GITHUB_PATH" - name: Version run: bino version # bino reads every YAML file below its work dir, so the project lives in report/ - name: Lint run: bino lint --work-dir report --fail-on-warnings - name: Build run: bino build --work-dir report --artefact kestrel - name: Upload the PDF uses: actions/upload-artifact@v4 with: name: kestrel-report path: report/dist/*.pdf