Skip to content

Commit

Permalink
chore: update CI and fix maven goal, add caching, add LTS JDKs, add p…
Browse files Browse the repository at this point in the history
…latform testing, etc. (#131)
  • Loading branch information
rhusar authored Mar 1, 2024
1 parent 798976e commit 2062b8e
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 32 deletions.
31 changes: 0 additions & 31 deletions .github/workflows/ci-actions.yml

This file was deleted.

34 changes: 34 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Arquillian Container Tomcat CI

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

jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
java: [ 11, 17, 21 ]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: ${{ matrix.java }}
- name: Cache local Maven repository
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with Maven
run: mvn --batch-mode verify
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

### Build Status

![GH Actions Build Status](https://github.com/arquillian/arquillian-container-tomcat/actions/workflows/ci-actions.yml/badge.svg)
![GH Actions Build Status](https://github.com/arquillian/arquillian-container-tomcat/actions/workflows/ci.yml/badge.svg)

0 comments on commit 2062b8e

Please sign in to comment.