ADFA-5254 | Tag AI network sockets with TrafficStats #136
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: Check toolchain | |
| # Fails a pull request that drifts off the standard plugin toolchain | |
| # (ADFA-4907). The standard itself lives in scripts/check-toolchain.sh — it is | |
| # deliberately not restated here, so there is only one copy of the numbers. | |
| # | |
| # This is the only workflow here that runs automatically on pull requests. | |
| # "Build plugin artifacts" and "Update libs from CodeOnTheGo" are both | |
| # workflow_dispatch-only, which is why toolchain drift previously reached | |
| # main with no CI signal at all. | |
| # | |
| # It is pure text inspection — no JDK, no Gradle, no network — so it costs a | |
| # few seconds and is safe to make a required check. | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| check-toolchain: | |
| name: Toolchain versions | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Check toolchain versions | |
| run: ./scripts/check-toolchain.sh | |
| - name: Report declared versions | |
| # Runs even when the check above fails, so the run summary shows what | |
| # every module actually declares next to the failure list. | |
| if: always() | |
| run: | | |
| { | |
| echo '### Declared toolchain versions' | |
| echo | |
| echo '```' | |
| ./scripts/check-toolchain.sh --list | |
| echo '```' | |
| } >> "$GITHUB_STEP_SUMMARY" |