Support up to Java 21 #641
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: SmallRye Build | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '.gitignore' | |
- 'CODEOWNERS' | |
- 'LICENSE' | |
- 'NOTICE' | |
- 'README*' | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: build | |
steps: | |
- uses: actions/checkout@v2 | |
name: checkout | |
- uses: AdoptOpenJDK/install-jdk@v1 | |
name: set up jdk 11 | |
with: | |
version: 11 | |
- name: Maven | |
run: mvn -B -ntp formatter:validate install | |
- uses: actions/checkout@v2 | |
name: checkout smallrye-config | |
with: | |
repository: smallrye/smallrye-config | |
path: smallrye-config | |
- name: test with smallrye-config | |
run: | | |
cd smallrye-config | |
mvn versions:update-parent -DallowSnapshots=true -N | |
git diff pom.xml | |
mvn install |