This repository has been archived by the owner on May 26, 2024. It is now read-only.
Bump com.puppycrawl.tools:checkstyle from 10.15.0 to 10.16.0 #183
Workflow file for this run
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
name: Build | |
on: | |
pull_request: | |
branches: [ "**" ] | |
types: [ opened, synchronize ] | |
push: | |
branches: [ main ] | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
# Enables adding a comment to PRs with test results. | |
permissions: | |
checks: write | |
pull-requests: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
# Needed to keep actions working correctly. | |
fetch-depth: 2 | |
- name: Initialize JDK | |
uses: actions/setup-java@v4.2.1 | |
with: | |
cache: maven | |
check-latest: true | |
distribution: zulu | |
java-version: 17 | |
- name: Compile and run tests | |
shell: bash | |
run: ./mvnw -B clean verify | |
- name: Archive test reports | |
uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: reports | |
path: | | |
**/target/*-reports/*.xml | |
**/target/*-reports/*.txt | |
retention-days: 5 | |
- name: Publish to codecov | |
uses: codecov/codecov-action@v4 | |
continue-on-error: true | |
if: always() | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |