Skip to content

Dev/1.7.1

Dev/1.7.1 #21

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