temporary disable portfolio commands #18
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: Checkstyle | |
on: | |
push: | |
branches: | |
- '*' | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
jobs: | |
checkstyle: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up JDK | |
uses: actions/setup-java@v2 | |
with: | |
distribution: 'adopt' | |
java-version: '11' | |
- name: Build with Maven and Run Checkstyle | |
run: | | |
mvn clean install | |
mvn initialize | |
mvn checkstyle:check | |
- name: Upload Checkstyle results | |
uses: actions/upload-artifact@v2 | |
with: | |
name: checkstyle-results | |
path: target/checkstyle-result.xml |