Add missing options to the README for clarity #106
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: Continuous Integration | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| jobs: | |
| test-action: | |
| name: GitHub Actions Test | |
| runs-on: ubuntu-latest | |
| container: | |
| image: adoptopenjdk/openjdk11:latest | |
| steps: | |
| - name: Checkout | |
| id: checkout | |
| uses: actions/checkout@v4 | |
| - name: Run Instrumentation Action | |
| id: test-action | |
| uses: ./ | |
| with: | |
| languages: java | |
| api_key: "dummy" | |
| java-instrumented-build-system: "all" | |
| - name: Check If Java Tracing Works | |
| run: | | |
| LOG_FILE=java-output.log | |
| TRACER_INIT_LOG="CI Visibility settings" | |
| java -version 2>&1 | tee $LOG_FILE | |
| grep -q "$TRACER_INIT_LOG" $LOG_FILE || { echo "Error: Output does not contain tracer initialisation log: $TRACER_INIT_LOG"; exit 1; } |