diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml deleted file mode 100644 index 8e3d223..0000000 --- a/.github/workflows/check.yaml +++ /dev/null @@ -1,49 +0,0 @@ -name: Check Code -run-name: check -on: [pull_request] - -jobs: - checkstyle: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Install Java 8 - uses: actions/setup-java@v3 - with: - distribution: "temurin" - java-version: "8" - cache: "maven" - - name: Set up Maven - uses: stCarolas/setup-maven@v4.5 - with: - maven-version: 3.8.2 - - name: Run checkstyle - run: mvn checkstyle:check - - test: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Install Java 8 - uses: actions/setup-java@v3 - with: - distribution: "temurin" - java-version: "8" - cache: "maven" - - name: Set up Maven - uses: stCarolas/setup-maven@v4.5 - with: - maven-version: 3.8.2 - - name: Run tests - run: mvn test - - name: Generate JaCoCo Badge - id: jacoco - uses: cicirello/jacoco-badge-generator@v2 - with: - generate-branches-badge: false - - name: Log coverage percentage - run: | - echo "coverage = ${{ steps.jacoco.outputs.coverage }}" - echo "branch coverage = ${{ steps.jacoco.outputs.branches }}"