Skip to content

Update dependent libraries #28

Update dependent libraries

Update dependent libraries #28

Workflow file for this run

name: Run tests on a pull request
on: pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: gradle/wrapper-validation-action@v1
- uses: actions/setup-java@v1
with:
java-version: 11
- name: Restore Gradle cache
uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'
bundler-cache: true
- name: Run ktlint and unit test
run: ./gradlew --continue :feature-flag:test :feature-flag:ktlintCheck
- name: Run Danger
if: ${{ cancelled() != true }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
JOB_STATUS: ${{ job.status }}
run: bundle exec danger --remove-previous-comments --fail-on-errors=true