Dev/1.7.1 #21
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: kotlin_checker | |
on: [pull_request] # only PR will run | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: "3.0" | |
architecture: "x64" | |
- name: Setup JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: "17" | |
distribution: "temurin" | |
- name: install danger | |
run: | | |
gem install bundler | |
bundle install | |
- name: Run detekt # run the detekt task from build.gradle | |
run: ./gradlew detekt --stacktrace | |
- name: run danger | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: danger |