Skip to content

Commit

Permalink
[v1.4.z] Updated Java in GH actions (#996)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuce authored Jul 31, 2024
1 parent 6763af4 commit cadeb79
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/benchmark-all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: "Install Dependencies"
run: |
sudo apt-get update &&\
sudo apt-get install -y openjdk-8-jdk-headless maven
sudo apt-get install -y openjdk-17-jdk-headless maven
- name: "Start Hazelcast Remote Controller"
run: |
Expand Down
13 changes: 4 additions & 9 deletions .github/workflows/coverage_runner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,15 @@ jobs:
if: github.event_name == 'push' || needs.check_for_membership.outputs.check-result == 'true' || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
steps:
- name: Setup Java
uses: actions/setup-java@v1
with:
java-version: 8

- uses: actions/setup-go@v2
with:
go-version: '1.17'

- name: Install JDK
uses: actions/setup-java@v2
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: '8'
distribution: 'zulu'
java-version: '17'

- name: Checkout code for PR
if: github.event_name == 'pull_request_target'
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/nightly_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@ jobs:
strategy:
matrix:
os: [ ubuntu-latest ]
go_version: [ 1.17, 1.18, 1.19 ]
go_version: [ 1.17, 1.18, 1.20, 1.22 ]
fail-fast: false
steps:

- name: Setup Java
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
java-version: 8
distribution: 'zulu'
java-version: '17'

- uses: actions/setup-go@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-all-32bits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: "Install Dependencies"
run: |
sudo apt-get update &&\
sudo apt-get install -y openjdk-8-jdk-headless maven
sudo apt-get install -y openjdk-17-jdk-headless maven
- name: "Start Hazelcast Remote Controller"
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: "Install Dependencies"
run: |
sudo apt-get update &&\
sudo apt-get install -y openjdk-8-jdk-headless maven
sudo apt-get install -y openjdk-17-jdk-headless maven
- name: "Start Hazelcast Remote Controller"
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-race.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: "Install Dependencies"
run: |
sudo apt-get update &&\
sudo apt-get install -y openjdk-8-jdk-headless maven
sudo apt-get install -y openjdk-17-jdk-headless maven
- name: "Start Hazelcast Remote Controller"
run: |
Expand Down

0 comments on commit cadeb79

Please sign in to comment.