Skip to content

Commit

Permalink
Add distribution attribute to GitHub workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyvdotbe committed Mar 7, 2023
1 parent 48a1cbf commit 3e8d3c5
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 3e8d3c5

Please sign in to comment.