Skip to content

Intriduce formatter methods to customize version output #522

Intriduce formatter methods to customize version output

Intriduce formatter methods to customize version output #522

Workflow file for this run

name: CI
on:
push:
branches: [ '*' ]
pull_request:
branches: [ '*' ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 8, 11, 17 ]
steps:
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set Java ${{ matrix.java }}
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: ${{ matrix.java }}
- name: Build with Apache Maven
run: ./mvnw clean verify -Dgpg.skip
- name: Run checkstyle
uses: nikitasavinov/checkstyle-action@0.6.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
checkstyle_config: config/checkstyle/checkstyle.xml
fail_on_error: true
reporter: github-pr-review
- name: Report code coverage
run: |
curl https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --keyring trustedkeys.gpg --import # One-time step
curl -Os https://uploader.codecov.io/latest/linux/codecov
curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM
curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM.sig
gpgv codecov.SHA256SUM.sig codecov.SHA256SUM
shasum -a 256 -c codecov.SHA256SUM
chmod +x codecov
./codecov