From 4df0483bcc3b799e941623e9597e6f7820970035 Mon Sep 17 00:00:00 2001 From: AkaLrz Date: Mon, 1 Jul 2024 09:23:44 -0700 Subject: [PATCH] change2 --- .github/workflows/jacoco.yml | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/.github/workflows/jacoco.yml b/.github/workflows/jacoco.yml index c2fc66471995ab..498eb35ba4c327 100644 --- a/.github/workflows/jacoco.yml +++ b/.github/workflows/jacoco.yml @@ -2,28 +2,22 @@ name: Coverage on: [push, pull_request] -permissions: - contents: read - jobs: build: - - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ ubuntu-latest ] - java-version: [ 8 ] - + runs-on: ubuntu-latest steps: + - name: Checkout branch - uses: actions/checkout@v4 with: + java-version: 1.8 persist-credentials: false - - name: Set up JDK ${{ matrix.java }} + - name: Set up JDK 1.8 uses: actions/setup-java@v4 with: distribution: temurin - java-version: ${{ matrix.java }} + java-version: 1.8 cache: 'maven' + - name: Build with Maven run: mvn --show-version --batch-mode --no-transfer-progress verify -Dmaven.test.failure.ignore=true -DfailIfNoTests=false -Dsurefire.failIfNoSpecifiedTests=false