Skip to content

validate results

validate results #224

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Java CI
on: [ push ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
- name: Test
uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
with:
arguments: test --info
env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
GPG_PASSWORD: ${{ secrets.GPG_KEY_PASSWORD }}
GPG_SECRET: ${{ secrets.GPG_SECRET_KEY }}
- name: Push Maven Artifacts to SonaType (only on Master)
if: ${{ github.ref == 'refs/heads/master' }}
uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
with:
arguments: publishToSonatype closeAndReleaseSonatypeStagingRepository --info
env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
GPG_PASSWORD: ${{ secrets.GPG_KEY_PASSWORD }}
GPG_SECRET: ${{ secrets.GPG_SECRET_KEY }}
# - name: PMD
# uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
# with:
# arguments: pmdMain --info
# env:
# OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
# OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
# GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
# GPG_PASSWORD: ${{ secrets.GPG_KEY_PASSWORD }}
# GPG_SECRET: ${{ secrets.GPG_SECRET_KEY }}
# - name: SpotBugs
# uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
# with:
# arguments: spotbugsMain --info
# env:
# OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
# OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
# GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
# GPG_PASSWORD: ${{ secrets.GPG_KEY_PASSWORD }}
# GPG_SECRET: ${{ secrets.GPG_SECRET_KEY }}