Fix Java installation [1.4.z] (#1005) #1472
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: "Test Go Client - 32bit" | |
on: ["push", "pull_request"] | |
jobs: | |
test: | |
runs-on: "ubuntu-latest" | |
env: | |
GOPATH: "${{ github.workspace }}" | |
HZ_VERSION: "5.1" | |
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: "Install Go tools" | |
run: | | |
go install golang.org/x/tools/[email protected] | |
go install honnef.co/go/tools/cmd/[email protected] | |
- name: "Go mod tidy" | |
run: | | |
go mod tidy | |
- name: "Run Checkers" | |
run: | | |
make check | |
- name: "Run All Tests" | |
run: | | |
GOARCH=386 make test-all |