Skip to content
This repository was archived by the owner on Sep 13, 2024. It is now read-only.

Commit e4c7a70

Browse files
committed
Enable Java CI workflow
1 parent 1d6880c commit e4c7a70

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

.github/workflows/build.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
2+
name: build
3+
4+
on:
5+
push:
6+
branches:
7+
- master
8+
pull_request:
9+
workflow_dispatch:
10+
11+
jobs:
12+
build:
13+
strategy:
14+
matrix:
15+
os: [ubuntu-latest, windows-latest, macos-latest]
16+
fail-fast: false
17+
18+
runs-on: ${{ matrix.os }}
19+
20+
steps:
21+
- uses: actions/checkout@v2
22+
- uses: actions/setup-java@v2
23+
with:
24+
java-version: 11
25+
distribution: 'temurin'
26+
cache: 'maven'
27+
28+
- name: Build with Maven
29+
run: mvn verify -e -B -V
30+

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
+-----------+---+-----------+-------+
99
```
1010

11+
[![build](https://github.com/eclipse/sisu.plexus/actions/workflows/build.yml/badge.svg?event=push)](https://github.com/eclipse/sisu.plexus/actions/workflows/build.yml)
1112
[![maintainability](https://sonarcloud.io/api/project_badges/measure?project=org.eclipse.sisu%3Asisu-plexus&metric=sqale_rating)](https://sonarcloud.io/summary/overall?id=org.eclipse.sisu%3Asisu-plexus)
1213
[![license](https://img.shields.io/badge/license-EPL_1.0-blue.svg)](https://www.eclipse.org/legal/epl-v10.html)
1314

0 commit comments

Comments
 (0)