feat: Modify the number of core threads saved in batches #378
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
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | |
name: Test | |
on: [ pull_request, workflow_dispatch ] | |
permissions: | |
checks: write | |
jobs: | |
Unit-Test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java-version: [ 21 ] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: "Test for JDK ${{ matrix.java-version }}" | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.java-version }} | |
distribution: 'temurin' | |
cache: maven | |
- name: Build with Maven | |
run: mvn clean test |