Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: JDK 22 is now GA; cleanup workflow definition #154

Merged
merged 1 commit into from
Apr 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 7 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
name: Arquillian Container Tomcat CI

name: CI
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'

jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
java: [ 11, 17, 21 ]
# Keep this list as: all supported LTS JDKs, the latest GA JDK, and optionally the latest EA JDK (if available).
java: [ 11, 17, 21, 22 ]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -31,11 +29,11 @@ jobs:
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with Maven
run: mvn --batch-mode verify
- name: Archive Surefire Reports
- name: Build with Maven using JDK ${{ matrix.java }}
run: mvn --batch-mode --no-transfer-progress verify
- name: Archive Failsafe Reports
if: failure()
uses: actions/upload-artifact@v4
if: always()
with:
name: ${{ runner.os }}-${{ matrix.java }}-failsafe-reports
path: '**/target/failsafe-reports/*.xml'