Feat/test act1 #5
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: 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: "2.7" | |
architecture: "x64" | |
- 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 |