perf: 优化测试工具,完全支持在不使用启动注解的情况下验证约束注解的逻辑 #39
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: run mvn test | |
on: [ push, pull_request, workflow_dispatch ] | |
jobs: | |
run-mvn-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: '8' | |
cache: maven | |
- run: | | |
java -version | |
mvn -v | |
- run: mvn verify | |
- run: mvn clean test coveralls:report -DrepoToken="${{secrets.COVERALLS_TOKEN}}" -f pom.xml |