Skip to content

Commit

Permalink
Merge pull request #41 from uzzu/remove-danger
Browse files Browse the repository at this point in the history
Remove danger
  • Loading branch information
uzzu authored Oct 29, 2022
2 parents eef0cb5 + f57d236 commit bc60a0a
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 189 deletions.
21 changes: 13 additions & 8 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,27 @@ jobs:
with:
distribution: 'adopt'
java-version: 11
- name: Setup Ruby
uses: ruby/setup-ruby@v1
- name: Bundle install
- uses: reviewdog/action-setup@v1
with:
reviewdog_version: latest
- name: Set env
run: |
bundle install
echo 'REVIEWDOG_GITHUB_API_TOKEN=${{ secrets.GITHUB_TOKEN }}' >> $GITHUB_ENV
- name: Gradle clean
run: |
./gradlew clean
- name: Gradle build
run: |
./gradlew build
- name: Run Danger
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Publish Test Report
uses: mikepenz/action-junit-report@v3
if: always()
with:
report_paths: '**/build/test-results/test/TEST-*.xml'
- name: Run reviewdog
if: always()
run: |
bundle exec danger --verbose
find . -type f -name "ktlint*Check.xml" -exec sh -c "cat {} | reviewdog -f=checkstyle -name='ktlint' -reporter=github-pr-review" \;
- name: Gradle publish to mavenLocal
run: |
./gradlew publishToMavenLocal
Expand Down
1 change: 0 additions & 1 deletion .ruby-version

This file was deleted.

82 changes: 0 additions & 82 deletions Dangerfile

This file was deleted.

8 changes: 0 additions & 8 deletions Gemfile

This file was deleted.

90 changes: 0 additions & 90 deletions Gemfile.lock

This file was deleted.

0 comments on commit bc60a0a

Please sign in to comment.