[API-2247] Fixed map.GetAll near cache behavior and ouput [master] (#… #2052
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" | |
on: ["push", "pull_request"] | |
jobs: | |
test: | |
runs-on: "ubuntu-latest" | |
env: | |
GOPATH: "${{ github.workspace }}" | |
HZ_VERSION: "5.3.6" | |
strategy: | |
matrix: | |
os: [ "ubuntu-latest" ] | |
go_version: [ "1.20" ] | |
fail-fast: false | |
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 Go" | |
uses: "actions/setup-go@v2" | |
with: | |
go-version: "${{ matrix.go_version }}" | |
- name: "Setup JRE" | |
uses: "actions/setup-java@v4" | |
with: | |
distribution: "zulu" | |
java-version: "17" | |
- name: "Download RCD (Linux/MacOS)" | |
if: "!contains(matrix.os, 'windows')" | |
run: | | |
wget https://rcd-download.s3.us-east-2.amazonaws.com/rcd-${{ matrix.os }} | |
- name: "Start Hazelcast Remote Controller (Linux/MacOS)" | |
if: "!contains(matrix.os, 'windows')" | |
run: | | |
chmod +x rcd-${{ matrix.os }} | |
./rcd-${{ matrix.os }} -version $HZ_VERSION -dir $HOME & | |
sleep 10 | |
- name: "Install Go tools" | |
run: | | |
go install golang.org/x/tools/...@v0.16.0 | |
go install honnef.co/go/tools/cmd/staticcheck@v0.4.6 | |
- name: "Go mod tidy" | |
run: | | |
go mod tidy | |
- name: "Run Checkers" | |
run: | | |
make check | |
- name: "Run All Tests" | |
run: | | |
make test-all |