This repository has been archived by the owner on Feb 20, 2024. It is now read-only.
尝试优化Bot内的重连机制 #3
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: Test Dev Branch | |
on: | |
pull_request: | |
branches: | |
- 'dev' | |
paths: | |
- '**.java' | |
- '**.kt' | |
- '**.kts' | |
- '*/src/*/kotlin/**' | |
- '*/src/*/java/**' | |
- '*/src/*/resource/**' | |
env: | |
IS_CI: true | |
GRADLE_OPTS: "-Dfile.encoding=UTF-8" | |
jobs: | |
build-test: | |
name: Build and test dev | |
strategy: | |
matrix: | |
os: [ macos-latest, windows-latest, ubuntu-latest ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: 11 | |
cache: 'gradle' | |
- name: Run All Tests | |
uses: gradle/gradle-build-action@v2 | |
with: | |
gradle-version: 8.5 | |
arguments: | | |
assemble | |
build | |
allTests | |
--info | |
--warning-mode all |