Skip to content

Commit a33ea90

Browse files
authored
chore: mark CLIRR check optional (googleapis#2434)
1 parent 4002f47 commit a33ea90

File tree

3 files changed

+5
-11
lines changed

3 files changed

+5
-11
lines changed

.github/sync-repo-settings.yaml

-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ branchProtectionRules:
1111
- dependencies (8)
1212
- dependencies (11)
1313
- lint
14-
- clirr
1514
- units (8)
1615
- units (11)
1716
- 'Kokoro - Test: Integration'
@@ -74,7 +73,6 @@ branchProtectionRules:
7473
requiresStrictStatusChecks: false
7574
requiredStatusCheckContexts:
7675
- lint
77-
- clirr
7876
- units (8)
7977
- units (11)
8078
- 'Kokoro - Test: Integration'
@@ -87,7 +85,6 @@ branchProtectionRules:
8785
requiresStrictStatusChecks: false
8886
requiredStatusCheckContexts:
8987
- lint
90-
- clirr
9188
- units (8)
9289
- units (11)
9390
- 'Kokoro - Test: Integration'

.github/workflows/samples.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
java-version: 11
2424
distribution: zulu
2525
- name: Compile Spanner
26-
run: mvn clean install
26+
run: mvn clean install -Dclirr.skip=true
2727
- uses: actions/setup-java@v3
2828
with:
2929
java-version: 8
@@ -44,7 +44,7 @@ jobs:
4444
java-version: ${{matrix.java}}
4545
distribution: zulu
4646
- name: Compile Spanner
47-
run: mvn clean install
47+
run: mvn clean install -Dclirr.skip=true
4848
- name: Compile samples
4949
run: mvn compile
50-
working-directory: samples
50+
working-directory: samples

git-hooks/pre-commit

+2-5
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,5 @@
44

55
set -e
66

7-
# Checks for:
8-
# - Formatting errors
9-
# - Clirr errors
10-
mvn com.coveo:fmt-maven-plugin:check clirr:check
11-
7+
# Checks for Formatting errors
8+
mvn com.coveo:fmt-maven-plugin:check

0 commit comments

Comments
 (0)