Reverted to previous docker image. #145
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is a custom workflow to call checkstyle on Java code. | |
name: Publish Surefire Reports | |
# Controls when the action will run. | |
on: | |
# Triggers the workflow on push or pull request events but only for the maste$ | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# A workflow run is made up of one or more jobs that can run sequentially or in$ | |
jobs: | |
build: | |
name: Run Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v1 | |
- uses: actions/setup-java@v2 | |
with: | |
distribution: 'adopt' # See 'Supported distributions' for available options | |
java-version: '11' | |
- name: Run Tests | |
run: mvn test --batch-mode --fail-at-end | |
- name: Publish Test Report | |
if: ${{ always() }} | |
uses: scacap/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} |