⬆️ Update plugin io.github.gradle-nexus.publish-plugin to v2 #526
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: Build | |
on: | |
pull_request: | |
branches: | |
- main | |
types: | |
- opened | |
- reopened | |
- synchronize | |
jobs: | |
detekt: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: vaniland-mc/actions/detekt@v1 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
report-xml-path: build/reports/detekt/merge.xml | |
report-sarif-path: build/reports/detekt/merge.sarif | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/build | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} |