mirror of
https://github.com/vran-dev/databasir.git
synced 2025-08-10 03:18:30 +08:00
* feat: update dockerfile * feat: add docker build action * feat:add manual release action
18 lines
722 B
YAML
18 lines
722 B
YAML
name: check
|
|
on: pull_request
|
|
|
|
jobs:
|
|
checkstyle:
|
|
name: Checkstyle
|
|
runs-on: ubuntu-18.04
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: reviewdog/action-setup@v1
|
|
with:
|
|
reviewdog_version: latest
|
|
- name: download checkstyle
|
|
run: curl -o checkstyle.jar -L https://github.com/checkstyle/checkstyle/releases/download/checkstyle-9.3/checkstyle-9.3-all.jar
|
|
- name: checkstyle
|
|
env:
|
|
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
run: java -jar checkstyle.jar -c config/checkstyle/checkstyle.xml -f xml . | reviewdog -f=checkstyle -name="Checkstyle Report" -reporter="github-check" -fail-on-error=true -level="error" -filter-mode=nofilter |