init #1
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up JDK 11 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'temurin' | |
| - name: Run code generation | |
| run: | | |
| mvn -pl codegen clean package -DskipTests -q | |
| java -jar codegen/target/lolzteam-codegen-*-jar-with-dependencies.jar \ | |
| schemas/forum.json schemas/market.json \ | |
| lolzteam-api/src/main/java/com/lolzteam | |
| - name: Build and test | |
| run: mvn clean verify |