build: Exclude slf4j-nop from test scope avoiding complains about sev… #22
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: | |
push: | |
branches: | |
- 5.x | |
paths-ignore: | |
- 'README.adoc' | |
pull_request: | |
paths-ignore: | |
- 'README.adoc' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Set up JDK' | |
uses: actions/setup-java@v3 | |
with: | |
distribution: zulu | |
java-version: 17 | |
- name: 'Cache Maven packages' | |
uses: actions/cache@v3 | |
with: | |
path: ~/.m2 | |
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}-${{ github.sha }} | |
- name: 'Checkout' | |
uses: actions/checkout@v3 | |
- name: 'Clean and verify' | |
run: ./mvnw --no-transfer-progress clean verify |