diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml index 9629b092..5e03fdca 100644 --- a/.github/workflows/pullrequest.yml +++ b/.github/workflows/pullrequest.yml @@ -9,14 +9,25 @@ on: jobs: build: - runs-on: ubuntu-latest + + strategy: + matrix: + os: + - ubuntu-latest + java-version: + - 11 + - 17 + - 21 + + runs-on: ${{ matrix.os }} + steps: - uses: actions/checkout@v4 - uses: actions/setup-java@v3 with: - java-version: 11 + java-version: ${{ matrix.java-version }} distribution: corretto cache: maven diff --git a/README.md b/README.md index da5f3c24..926a2e3e 100644 --- a/README.md +++ b/README.md @@ -85,6 +85,12 @@ final TeamClient teamClient = organisationClient.createTeamClient(); teamClient.getMembership("username"); ``` +## Supported Java versions + +This library is written and published with Java version 11. In our CI workflows, we execute +automated tests with the Java LTS versions 11, 17 and 21. Due to Java's backwards compatability, +this library can definitely be used in all the tested versions. + ## Contributing This project uses Maven. To run the tests locally, just run: