diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 3e9231d..9aed8b3 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -3,28 +3,28 @@ name: Java CI with Maven on: push: pull_request: - branches: [ "main" ] + branches: ["main"] jobs: build-and-test: runs-on: ubuntu-latest steps: - - name: Checkout code - uses: actions/checkout@v4 + - name: Checkout code + uses: actions/checkout@v4 - - name: Set up JDK 17 - uses: actions/setup-java@v4 - with: - java-version: '17' - distribution: 'temurin' - cache: 'maven' + - name: Set up JDK 17 + uses: actions/setup-java@v4 + with: + java-version: "17" + distribution: "temurin" + cache: "maven" - - name: Build and Test all modules - run: mvn -B clean verify + - name: Build and Test all modules + run: mvn -B clean verify - - name: Publish Test Report - uses: scacap/action-surefire-report@v1 - if: failure() - with: - github_token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + - name: Publish Test Report + uses: scacap/action-surefire-report@v1 + if: failure() + with: + github_token: ${{ secrets.GITHUB_TOKEN }}