Skip to content

Commit

Permalink
Merge pull request #1314 from anthonyvdotbe/issue-1308
Browse files Browse the repository at this point in the history
Add distribution attribute to GitHub workflows
  • Loading branch information
PhilipRoman authored Mar 7, 2023
2 parents 48a1cbf + 3e8d3c5 commit 239ded8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/checkstyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ jobs:
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Code Style Check
run: mvn -B checkstyle:check --file pom.xml
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Build
run: mvn -DskipTests package --file pom.xml

Expand All @@ -22,5 +23,6 @@ jobs:
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Test
run: mvn test --file pom.xml
1 change: 1 addition & 0 deletions .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Cache SonarCloud packages
uses: actions/cache@v1
with:
Expand Down

0 comments on commit 239ded8

Please sign in to comment.