feat: add copilot window for stats #59
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: Observability Kit Validation | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - micrometer | |
| workflow_dispatch: | |
| concurrency: | |
| group: validation-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| validate: | |
| name: Build and test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check secrets | |
| if: ${{ !github.event.pull_request.head.repo.fork }} | |
| run: | | |
| [ -z "${{secrets.VAADIN_PRO_KEY}}" ] \ | |
| && echo "🚫 **VAADIN_PRO_KEY** is not defined, check that **${{github.repository}}** repo has a valid secret" \ | |
| | tee -a $GITHUB_STEP_SUMMARY && exit 1 || exit 0 | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: '21' | |
| cache: maven | |
| - name: Set TB License | |
| run: | | |
| TB_LICENSE=${{secrets.VAADIN_PRO_KEY}} | |
| mkdir -p ~/.vaadin/ | |
| echo '{"username":"'$(echo $TB_LICENSE | cut -d / -f1)'","proKey":"'$(echo $TB_LICENSE | cut -d / -f2)'"}' > ~/.vaadin/proKey | |
| - name: Check formatting (Spotless) | |
| run: mvn -B -ntp spotless:check | |
| - name: Build and verify | |
| run: mvn -B -ntp verify |