mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2024-11-21 10:05:25 +01:00
Add workflow for running and reporting checkstyle.
This commit is contained in:
parent
dcbcca9a62
commit
8b895d41f7
18
.github/workflows/generic.checkstyle.yml
vendored
Normal file
18
.github/workflows/generic.checkstyle.yml
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
name: 'Generic: Checkstyle'
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
|
||||
jobs:
|
||||
checkstyle:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- uses: dbelyaev/action-checkstyle@v0.8.4
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
checkstyle_version: 10.12.2
|
||||
checkstyle_config: ./config/mv_checks.yml
|
9
.github/workflows/pr.checkstyle.yml
vendored
Normal file
9
.github/workflows/pr.checkstyle.yml
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
name: 'PR: Checkstyle'
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, synchronize]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
uses: ./.github/workflows/generic.checkstyle.yml
|
Loading…
Reference in New Issue
Block a user