Merge pull request #336 from sberyozkin/mp_parent_2.8 #404
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: MicroProfile JWT Build | |
on: | |
push: | |
paths-ignore: | |
- 'editorconfig' | |
- '.gitattributes' | |
- '.gitignore' | |
- 'CONTRIBUTING*' | |
- 'CODEOWNERS' | |
- 'KEYS' | |
- 'LICENSE' | |
- 'NOTICE' | |
- 'README*' | |
- 'site.yaml' | |
pull_request: | |
paths-ignore: | |
- 'editorconfig' | |
- '.gitattributes' | |
- '.gitignore' | |
- 'CONTRIBUTING*' | |
- 'CODEOWNERS' | |
- 'KEYS' | |
- 'LICENSE' | |
- 'NOTICE' | |
- 'README*' | |
- 'site.yaml' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: [11, 17] | |
name: build with jdk ${{matrix.java}} | |
steps: | |
- uses: actions/checkout@v4 | |
name: checkout | |
with: | |
ref: ${{ github.event.pull_request.merge_commit_sha }} | |
- uses: actions/setup-java@v4 | |
name: set up jdk ${{matrix.java}} | |
with: | |
distribution: temurin | |
java-version: ${{matrix.java}} | |
- name: build with maven | |
run: | | |
mvn -q -N io.takari:maven:0.7.7:wrapper -Dmaven=3.9.0 && ./mvnw -v | |
./mvnw -ntp formatter:validate install |