Bump jakarta.enterprise:jakarta.enterprise.cdi-api from 4.0.1 to 4.1.0 #1665
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: | |
- '.gitattributes' | |
- '.gitignore' | |
- 'CODEOWNERS' | |
- 'LICENSE' | |
- 'NOTICE' | |
- 'README*' | |
pull_request: | |
paths-ignore: | |
- '.gitattributes' | |
- '.gitignore' | |
- 'CODEOWNERS' | |
- 'LICENSE' | |
- 'NOTICE' | |
- 'README*' | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
java: | |
# we want: all LTS versions (that we care about), latest GA, upcoming | |
- 11 | |
- 17 | |
- 21 | |
- 22 | |
# Currently incompatible with awaitility; java.lang.NumberFormatException: For input string: "23-beta" | |
#- 23-ea | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macos-latest | |
runs-on: ${{ matrix.os }} | |
name: Build with JDK ${{ matrix.java }} (${{ matrix.os }}) | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up JDK ${{ matrix.java }} | |
uses: actions/setup-java@v3 | |
with: | |
distribution: temurin | |
java-version: ${{ matrix.java }} | |
- name: Cache local Maven repository | |
uses: actions/cache@v3 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-maven- | |
- name: Build with Maven (Linux, Windows) | |
if: ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'windows-latest' }} | |
shell: bash | |
run: mvn -s .github/maven-ci-settings.xml -B formatter:validate verify --file pom.xml | |
- name: Build with Maven (Mac) | |
if: ${{ matrix.os == 'macos-latest' }} | |
shell: bash | |
run: mvn -s .github/maven-ci-settings.xml -B formatter:validate verify --file pom.xml -Dorg.eclipse.microprofile.fault.tolerance.tck.timeout.multiplier=3.0 | |
- name: Upload TCK report | |
if: ${{ matrix.java == '11' && matrix.os == 'ubuntu-latest' }} | |
uses: actions/upload-artifact@v3 | |
with: | |
name: tck-report | |
path: testsuite/tck/target/surefire-reports | |
quality: | |
needs: | |
- build | |
if: github.event_name == 'push' && github.repository == 'smallrye/smallrye-fault-tolerance' | |
runs-on: ubuntu-latest | |
name: Quality | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: temurin | |
java-version: 11 | |
- name: Cache local Maven repository | |
uses: actions/cache@v3 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-maven- | |
- name: Sonar | |
env: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
SONAR_TOKEN: ${{secrets.SONAR_TOKEN}} | |
run: mvn -s .github/maven-ci-settings.xml -B verify --file pom.xml -Pcoverage javadoc:javadoc sonar:sonar -Dsonar.projectKey=smallrye_smallrye-fault-tolerance -Dsonar.login=$SONAR_TOKEN |