Update dependency com.puppycrawl.tools:checkstyle to v10.21.0 - autoclosed #440
Workflow file for this run
This file contains 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: Maven verify | |
on: | |
pull_request: | |
types: [ opened, synchronize, reopened ] | |
jobs: | |
verify: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
- name: Cache maven packages | |
uses: actions/cache@v4 | |
with: | |
path: ~/.m2 | |
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} | |
restore-keys: ${{ runner.os }}-m2 | |
- name: Run the maven verify | |
run: mvn --batch-mode --update-snapshots clean verify | |
- name: Save the PR number in a file | |
run: echo ${{ github.event.number }} > PR_NUMBER.txt | |
- name: Upload the PR number as an artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: PR_NUMBER | |
path: PR_NUMBER.txt |