Skip to content

[Java] Fixing Codacy - Useless Parantheses #711

[Java] Fixing Codacy - Useless Parantheses

[Java] Fixing Codacy - Useless Parantheses #711

Workflow file for this run

name: Java Gradle Build and Test
permissions:
checks: write
pull-requests: write
on:
push:
branches:
- master
- staging
pull_request:
branches:
- master
- staging
jobs:
build:
name: Build and Test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'corretto'
- name: Build and Test with Gradle
run: ./gradlew build
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
check_name: "Unit Test Results :rocket:"
comment_title: "Unit Test Results :rocket:"
files: |
sdk-java/build/test-results/**/*.xml