mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-06 16:37:38 +01:00
9e85687575
* in order to make an omelet, you have to break a few eggs. aka absolutely decimate the gradle project
* far more sane gradle, no publishing yet tho
* attempt maven deploy
* fix publish url and use snapshot repo
* fix secret names
* release, and properly set version
* attempt to set group correctly
* more gradle fixups
(cherry picked from commit 381d89497a
)
32 lines
861 B
YAML
32 lines
861 B
YAML
name: Check PR code style
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Set up JDK 17
|
|
uses: actions/setup-java@v1
|
|
with:
|
|
java-version: 17
|
|
- name: Run java checkstyle
|
|
uses: nikitasavinov/checkstyle-action@0.3.1
|
|
with:
|
|
# Report level for reviewdog [info,warning,error]
|
|
level: info
|
|
# Reporter of reviewdog command [github-pr-check,github-pr-review]
|
|
reporter: github-pr-check
|
|
# Filtering for the reviewdog command [added,diff_context,file,nofilter].
|
|
filter_mode: added
|
|
# Exit code for reviewdog when errors are found [true,false].
|
|
fail_on_error: false
|
|
# Checkstyle config file
|
|
checkstyle_config: minestom_checks.xml
|
|
checkstyle_version: "8.42"
|