Skip to content

Commit 79f3e5b

Browse files
committed
Update CI and Update Badges
1 parent 4477b61 commit 79f3e5b

File tree

2 files changed

+7
-15
lines changed

2 files changed

+7
-15
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,16 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
os: [ubuntu-latest, macos-latest, windows-latest]
16-
jdk: [1.8, 9, 11, 15]
16+
jdk: [8, 11, 17, 21]
1717
runs-on: ${{ matrix.os }}
1818
steps:
19-
- uses: actions/checkout@v2
19+
- uses: actions/checkout@v4
2020
- name: Set up JDK
21-
uses: actions/setup-java@v1
21+
uses: actions/setup-java@v4
2222
with:
2323
java-version: ${{ matrix.jdk }}
24-
- name: Cache Maven packages
25-
uses: actions/cache@v2
26-
with:
27-
path: ~/.m2
28-
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
29-
restore-keys: ${{ runner.os }}-m2
24+
distribution: liberica
3025
- name: Maven Build
3126
run: mvn -V -B -DskipTests=true install
3227
- name: Maven Test
33-
run: mvn -B verify
34-
# - name: Maven Code Coverage
35-
# if: ${{ github.ref == 'refs/heads/main' && matrix.jdk == '1.8' && matrix.os == 'ubuntu-latest' }}
36-
# run: mvn -B jacoco:report coveralls:report -DrepoToken=${{ secrets.COVERALLS_TOKEN }}
28+
run: mvn -B verify

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
[![CI](https://github.com/expath/crypto-java/workflows/CI/badge.svg)](https://github.com/expath/crypto-java/actions?query=workflow%3ACI)
1+
[![Build Status](https://github.com/expath/crypto-java/actions/workflows/ci.yml/badge.svg)](https://github.com/expath/crypto-java/actions/workflows/ci.yml)
22
[![Java 8+](https://img.shields.io/badge/java-8%2B-blue.svg)](https://adoptopenjdk.net/)
33
[![License](https://img.shields.io/badge/license-LGPL%202.1-blue.svg)](https://opensource.org/licenses/lgpl-2.1)
4-
[![Maven Central](https://img.shields.io/maven-central/v/org.expath.crypto/crypto-java.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22org.expath.crypto%22%20AND%20a:%22crypto-java%22)
4+
[![Maven Central](https://img.shields.io/maven-central/v/org.expath/crypto-java?logo=apachemaven&label=maven+central&color=green)](https://central.sonatype.com/search?namespace=org.expath)
55

66
# Java library for EXPath Crypto Module
77

0 commit comments

Comments
 (0)