mirror of
https://github.com/vran-dev/databasir.git
synced 2025-08-10 05:15:10 +08:00
Add manual & auto release action (#36)
* feat: update dockerfile * feat: add docker build action * feat:add manual release action
This commit is contained in:
18
.github/workflows/auto-checkstyle.yml
vendored
Normal file
18
.github/workflows/auto-checkstyle.yml
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
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
|
Reference in New Issue
Block a user