Skip to content

Commit

Permalink
Bump Java JDK from 17 to 21
Browse files Browse the repository at this point in the history
  • Loading branch information
burakkaygusuz committed Oct 19, 2023
1 parent 0f4536e commit 4c9c6e6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v3
- name: Set up JDK 21
uses: oracle-actions/setup-java@v1
with:
java-version: "17"
distribution: "temurin"
cache: maven
website: jdk.java.net
release: 21
version: latest

- name: Start Selenium Docker Grid setup
run: docker-compose -f "docker-compose.yml" up -d --build
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Selenium Java Architecture Skeleton

A lean automation architecture built for e2e testing of web applications, developed with Java 17 and Selenium 4.
A lean automation architecture built for e2e testing of web applications, developed with Java 21 and Selenium 4.

## Prerequisites

Make sure you have installed and configured the environment variables and all the following prerequisites on your
development machine:

| OS | JDK | Maven | Docker |
|---------|--------------------------------------|-----------------------|-----------------------------------------------|
| Windows | `scoop install java/temurin-lts-jdk` | `scoop install maven` | `winget install -e --id Docker.DockerDesktop` |
| macOS | `brew install --cask temurin` | `brew install maven` | `brew install docker` |
|---------|--------------------------------|-----------------------|-----------------------------------------------|
| Windows | `scoop install java/openjdk21` | `scoop install maven` | `winget install -e --id Docker.DockerDesktop` |
| macOS | `brew install --cask temurin` | `brew install maven` | `brew install docker` |

4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<!-- Environment Versions -->
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<!--Dependency
Versions-->
<assertj-core.version>3.24.2</assertj-core.version>
Expand Down

0 comments on commit 4c9c6e6

Please sign in to comment.