Skip to content

Commit 21a1f27

Browse files
Copilotnomeguy
andcommitted
Update CI to use Java 17 and document requirements in README
Co-authored-by: nomeguy <85475922+nomeguy@users.noreply.github.com>
1 parent 04baab5 commit 21a1f27

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

.github/workflows/maven-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ jobs:
2626
with:
2727
fetch-depth: '0'
2828

29-
- name: Set up JDK 1.8
29+
- name: Set up JDK 17
3030
uses: actions/setup-java@v1
3131
with:
32-
java-version: 1.8
32+
java-version: 17
3333
server-username: OSSRH_JIRA_USERNAME
3434
server-password: OSSRH_JIRA_PASSWORD
3535
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,20 @@
44
[![GitHub Actions](https://github.com/jcasbin/casbin-spring-boot-starter/workflows/build/badge.svg)](https://github.com/jcasbin/casbin-spring-boot-starter/actions)
55
[![Maven Central](https://img.shields.io/maven-central/v/org.casbin/casbin-spring-boot-starter.svg?style=flat-square&color=brightgreen)](https://mvnrepository.com/artifact/org.casbin/casbin-spring-boot-starter/latest)
66
[![License](https://img.shields.io/github/license/jcasbin/casbin-spring-boot-starter.svg?style=flat-square&color=blue)](http://www.apache.org/licenses/LICENSE-2.0.txt)
7-
[![SpringBootVersion](https://img.shields.io/badge/SpringBoot-2.7.12-heightgreen.svg?style=flat-square)](https://spring.io/projects/spring-boot)
7+
[![SpringBootVersion](https://img.shields.io/badge/SpringBoot-4.0.0-brightgreen.svg?style=flat-square)](https://spring.io/projects/spring-boot)
8+
[![JavaVersion](https://img.shields.io/badge/Java-17+-blue.svg?style=flat-square)](https://openjdk.org/)
89
[![CasbinVersion](https://img.shields.io/badge/jCasbin-1.81.0-heightgreen.svg?style=flat-square)](https://casbin.org)
910

1011
[![](https://raw.githubusercontent.com/casbin/jcasbin/master/casbin-logo.png)](https://casbin.org)
1112

1213
Casbin Spring Boot Starter is designed to help you easily integrate [jCasbin](https://github.com/casbin/jcasbin) into
1314
your Spring Boot project.
1415

16+
## Requirements
17+
18+
- Java 17 or higher
19+
- Spring Boot 4.0.0 or higher
20+
1521
## how to use
1622

1723
1. Add ```casbin-spring-boot-starter``` to the Spring Boot project.

0 commit comments

Comments
 (0)