Skip to content

Commit

Permalink
[#498] Added JDK setup in github action
Browse files Browse the repository at this point in the history
  • Loading branch information
thawzintoe-ptut committed Jun 26, 2024
1 parent aa0b1d4 commit 2a358de
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion template-compose/.github/workflows/review_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ jobs:
restore-keys: |
${{ runner.os }}-gradle-
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'

- name: Run Detekt
run: ./gradlew detekt

Expand All @@ -45,7 +51,6 @@ jobs:
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'
bundler-cache: true # runs 'bundle install' and caches installed gems automatically

- name: Cache gems
uses: actions/cache@v2
Expand Down

0 comments on commit 2a358de

Please sign in to comment.