Add manual & auto release action (#36)

* feat: update dockerfile

* feat: add docker build action

* feat:add manual release action
This commit is contained in:
vran
2022-03-06 15:06:59 +08:00
committed by GitHub
parent 1f3aa9e6d9
commit 47d642152d
8 changed files with 110 additions and 43 deletions

18
.github/workflows/auto-checkstyle.yml vendored Normal file
View 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