Release 0.1.0 #30
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 | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| merge_group: | |
| workflow_dispatch: | |
| concurrency: | |
| group: "${{ github.workflow }}-${{ github.head_ref || github.ref }}" | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| show-progress: 'false' | |
| - name: Setup JDK | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: '25' | |
| distribution: corretto | |
| check-latest: true | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v6 | |
| # `build` runs tests headless (no display needed) and the doclint-gated javadoc jar | |
| - name: Build | |
| run: ./gradlew build | |
| # Tests of the RichTextArea renderer need the JavaFX toolkit | |
| - name: GUI tests | |
| run: xvfb-run --auto-servernum ./gradlew guiTest | |
| - name: Upload test reports | |
| if: failure() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: test-reports | |
| path: | | |
| build/reports/tests/test/ | |
| build/test-results/test/ | |
| # Lints CHANGELOG.md against the Keep a Changelog format | |
| changelog: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| show-progress: 'false' | |
| - name: Lint CHANGELOG.md | |
| uses: jbangdev/jbang-action@v0.140.1 | |
| with: | |
| script: com.github.nbbrd.heylogs:heylogs-cli:0.19.1:bin | |
| scriptargs: "check --rule dot-space-link-style:ERROR --format github-actions CHANGELOG.md" |