Fixed an timing issue with near cache clear #263
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
# Copyright 2022, 2023 Oracle Corporation and/or its affiliates. | |
# Licensed under the Universal Permissive License v 1.0 as shown at | |
# https://oss.oracle.com/licenses/upl. | |
# --------------------------------------------------------------------------- | |
# Coherence Go Client GitHub Actions test examples against v22.06 versions | |
# --------------------------------------------------------------------------- | |
name: CI-Examples v22.06 | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- '*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
coherenceVersion: | |
- 22.06.8-SNAPSHOT | |
- 22.06.7 | |
go-version: | |
- 1.19.x | |
- 1.20.x | |
- 1.21.x | |
- 1.22.x | |
# Checkout the source, we need a depth of zero to fetch all of the history otherwise | |
# the copyright check cannot work out the date of the files from Git. | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Get Docker Images | |
shell: bash | |
run: | | |
docker pull gcr.io/distroless/java:11 | |
uname -a | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '11' | |
distribution: 'zulu' | |
- name: Cache Go Modules | |
uses: actions/cache@v3 | |
with: | |
path: ~/go/pkg/mod | |
key: ${{ runner.os }}-go-mods-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-go-mods- | |
- name: Cache Maven packages | |
uses: actions/cache@v3 | |
with: | |
path: ~/.m2 | |
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} | |
restore-keys: ${{ runner.os }}-m2 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '${{ matrix.go-version }}' | |
- name: Copyright Check | |
shell: bash | |
run: | | |
make copyright | |
- name: Verify Examples | |
shell: bash | |
run: | | |
go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3.0 | |
COHERENCE_VERSION=${{ matrix.coherenceVersion }} PROFILES=,-jakarta,javax make clean generate-proto build-test-images test-cluster-startup test-examples | |
make test-cluster-shutdown || true | |
- uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: test-output | |
path: build/_output/test-logs |