diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8447862019ac..e27b2c57563c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -27,7 +27,7 @@ jobs: matrix: java: [11, 17] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 - uses: actions/setup-java@v3 with: distribution: temurin @@ -41,7 +41,7 @@ jobs: name: "units (8)" runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 - uses: actions/setup-java@v3 with: java-version: 8 @@ -63,7 +63,7 @@ jobs: steps: - name: Support longpaths run: git config --system core.longpaths true - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 - uses: actions/setup-java@v3 with: distribution: temurin @@ -78,7 +78,7 @@ jobs: matrix: java: [17] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 - uses: actions/setup-java@v3 with: distribution: temurin @@ -88,7 +88,7 @@ jobs: javadoc: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 - uses: actions/setup-java@v3 with: distribution: temurin @@ -100,7 +100,7 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 - uses: actions/setup-java@v3 with: distribution: temurin @@ -112,7 +112,7 @@ jobs: clirr: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 - uses: actions/setup-java@v3 with: distribution: temurin diff --git a/tests/validate-bom/src/main/java/com/google/cloud/CreateBomCanaryProject.java b/tests/validate-bom/src/main/java/com/google/cloud/CreateBomCanaryProject.java index bebc300f80f3..544d0fe06ac8 100644 --- a/tests/validate-bom/src/main/java/com/google/cloud/CreateBomCanaryProject.java +++ b/tests/validate-bom/src/main/java/com/google/cloud/CreateBomCanaryProject.java @@ -111,12 +111,13 @@ private static String calculateDependenciesSection(Bom bom) { continue; } - // Skipping grpc-android as it is not used by Google Cloud Client Libraries for Java. Checking - // for availability of - // this unused artifact on Maven Central has caused BOM validation check to fail in the past. - // See + // Skipping grpc-android, grpc-binder and grpc-cronet as they are not used by Google Cloud + // Client Libraries for Java. Checking for availability of these unused artifacts on Maven + // Central has caused BOM validation check to fail in the past. See // https://github.com/googleapis/sdk-platform-java/pull/1989#issuecomment-1724039670 - if ("grpc-android".equals(managedDependency.getArtifactId())) { + if ("grpc-android".equals(managedDependency.getArtifactId()) + || "grpc-binder".equals(managedDependency.getArtifactId()) + || "grpc-cronet".equals(managedDependency.getArtifactId())) { continue; }