Wider use of lombok #74
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: Multi Platform CI | |
on: | |
push: | |
branches-ignore: | |
- main | |
- wip* | |
jobs: | |
ci: | |
name: run tests, style verification, measure code coverage and publish to nexus staging repository | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ ubuntu-22.04, windows-2022, macos-13] | |
env: | |
OS: ${{ matrix.os }} | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v3 | |
- name: Java JDK setup | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 11 | |
distribution: "zulu" | |
- name: Run Tests and upload coverage | |
run: ./gradlew clean build check test coveralls | |
env: | |
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} | |
# Publish to the staging repository only once, from the Linux Runner | |
- name: Publish to Staging repository | |
if: runner.os == 'Linux' | |
run: ./gradlew publishToSonatype | |
env: | |
NEXUS_TARGET: SNAPSHOT | |
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }} | |
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }} |