Repository navigation
Bump dawidd6/action-download-artifact from 21 to 24 #543
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: Pull Request | |
| on: | |
| pull_request: | |
| branches: | |
| - 'main' | |
| - 'jaspr/**/*' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| check-commit-message: | |
| name: Check Commit Message | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check commit message line length | |
| uses: gsactions/commit-message-checker@16fa2d5de096ae0d35626443bcd24f1e756cafee # v2.0.0 | |
| with: | |
| pattern: "^.{0,74}(\n.*)*$" | |
| error: 'Your commit subject should not be longer than 74 characters.' | |
| excludeDescription: 'true' | |
| excludeTitle: 'true' | |
| checkAllCommitMessages: 'true' | |
| accessToken: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Check commit subject does not end with a period | |
| uses: gsactions/commit-message-checker@16fa2d5de096ae0d35626443bcd24f1e756cafee | |
| with: | |
| pattern: '.+[^\.]$' | |
| error: 'Your commit subject should not end in a period.' | |
| excludeDescription: 'true' | |
| excludeTitle: 'true' | |
| checkAllCommitMessages: 'true' | |
| accessToken: ${{ secrets.GITHUB_TOKEN }} | |
| gradle: | |
| name: Gradle Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Java (Graal VM) | |
| uses: renatoathaydes/setup-java-sdkman@2.1.1 | |
| with: | |
| # noinspection YAMLIncompatibleTypes | |
| java-version: "21.0.1-graalce" | |
| - name: Setup Gradle | |
| uses: gradle/gradle-build-action@ac2d340dc04d9e1113182899e983b5400c17cda1 # v3.5.0 | |
| - name: Run Tests | |
| run: ./gradlew build --configure-on-demand --max-workers=4 | |
| shell: bash | |
| - name: Upload Event File | |
| if: always() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: Event File | |
| path: ${{ github.event_path }} | |
| - name: Upload Test Results | |
| if: always() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: Test Results | |
| path: "**/build/test-results/**/*.xml" |