Fix Java installation [1.4.z] (#1005) #1984
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Benchmark Go Client" | |
on: ["push", "pull_request"] | |
jobs: | |
benchmark: | |
runs-on: "ubuntu-latest" | |
env: | |
GOPATH: "${{ github.workspace }}" | |
defaults: | |
run: | |
shell: "bash" | |
working-directory: "$HOME/hazelcast-go-client" | |
steps: | |
- name: "Checkout Code" | |
uses: "actions/checkout@v2" | |
with: | |
path: "$HOME/hazelcast-go-client" | |
- name: "Setup JRE" | |
uses: "actions/setup-java@v4" | |
with: | |
distribution: "zulu" | |
java-version: "17" | |
- name: "Start Hazelcast Remote Controller" | |
run: | | |
bash ./rc.sh start | |
sleep 2 | |
- name: "Setup Go" | |
uses: "actions/setup-go@v2" | |
with: | |
go-version: "1.17" | |
- name: "Run Benchmarks, Single Member" | |
run: | | |
go mod tidy | |
MEMBER_COUNT=1 WARMUPS=3 make benchmark | |
- name: "Run Benchmarks, Three Members" | |
run: | | |
go mod tidy | |
MEMBER_COUNT=3 WARMUPS=3 make benchmark |