Skip to content

Commit ec7da9b

Browse files
chore: ensure compatibility with Java versions 17 and 21 (#158)
1 parent 45eb58c commit ec7da9b

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

.github/workflows/pullrequest.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,25 @@ on:
99

1010
jobs:
1111
build:
12-
runs-on: ubuntu-latest
12+
13+
strategy:
14+
matrix:
15+
os:
16+
- ubuntu-latest
17+
java-version:
18+
- 11
19+
- 17
20+
- 21
21+
22+
runs-on: ${{ matrix.os }}
23+
1324
steps:
1425

1526
- uses: actions/checkout@v4
1627

1728
- uses: actions/setup-java@v3
1829
with:
19-
java-version: 11
30+
java-version: ${{ matrix.java-version }}
2031
distribution: corretto
2132
cache: maven
2233

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,12 @@ final TeamClient teamClient = organisationClient.createTeamClient();
8585
teamClient.getMembership("username");
8686
```
8787

88+
## Supported Java versions
89+
90+
This library is written and published with Java version 11. In our CI workflows, we execute
91+
automated tests with the Java LTS versions 11, 17 and 21. Due to Java's backwards compatability,
92+
this library can definitely be used in all the tested versions.
93+
8894
## Contributing
8995

9096
This project uses Maven. To run the tests locally, just run:

0 commit comments

Comments
 (0)