chore(deps): update actions/setup-java action to v4 #160
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: pull request check | |
on: | |
pull_request | |
jobs: | |
check: | |
name: Check pull request | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'corretto' | |
java-version: '17' | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.0' | |
- name: Install danger | |
run: | | |
gem install danger danger-junit danger-checkstyle_format | |
- name: Run test | |
run: | | |
./gradlew test | |
continue-on-error: true | |
- name: Run ktlint | |
run: | | |
./gradlew ktlintCheck | |
continue-on-error: true | |
- name: Run danger | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
danger |