Skip to content

Commit 724c805

Browse files
committed
Add CI and Update Badges
1 parent 2946032 commit 724c805

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

.github/workflows/ci.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
jobs:
10+
build:
11+
name: Build and Test
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
os: [ubuntu-latest, macos-latest, windows-latest]
16+
jdk: [8, 11, 17, 21]
17+
runs-on: ${{ matrix.os }}
18+
steps:
19+
- uses: actions/checkout@v4
20+
- name: Set up JDK
21+
uses: actions/setup-java@v4
22+
with:
23+
java-version: ${{ matrix.jdk }}
24+
distribution: liberica
25+
- name: Maven Build and Test
26+
run: mvn -V -B clean verify

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# EXPath Parent POM
2-
[![Maven Central](https://img.shields.io/maven-central/v/org.expath/expath-parent.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22org.expath%22%20AND%20a:%22expath-parent%22)
2+
[![Build Status](https://github.com/expath/expath-parent/actions/workflows/ci.yml/badge.svg)](https://github.com/expath/expath-parent/actions/workflows/ci.yml)
3+
[![Maven Central](https://img.shields.io/maven-central/v/org.expath/expath-parent?logo=apachemaven&label=maven+central&color=green)](https://central.sonatype.com/search?namespace=org.expath)
34
[![License](https://img.shields.io/badge/license-MPL%201.0-blue.svg)](https://opensource.org/licenses/MPL-1.0)
45

56
This repository holds just the EXPath Parent POM. It defines a common set of build parameters for use with Maven.

0 commit comments

Comments
 (0)