Skip to content

Commit a1a4033

Browse files
committed
versionCompare
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent d858245 commit a1a4033

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

tools/src/test/proto/buf_breaking-version.yaml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@ version: v2
44
breaking: # https://buf.build/docs/configuration/v2/buf-yaml#breaking
55
use: # see https://buf.build/docs/breaking/overview#rules-and-categories
66
- WIRE
7-
exceptions:
8-
- path: schema/bom-1.5.proto
9-
except:
10-
- RULE_ID
11-
severity: WARN
12-
# - 'schema/bom-1.5.proto' # possible breaks are acknowledged for this specific version only
13-
#- 'schema/bom-1.6.proto' # possible breaks are acknowledged for this specific version only
14-
# DO NOT ADD NEW VERSIONS HERE WITHOUT CONSULTING THE CDX CORE-WORKING-GROUP
7+
ignore_only:
8+
# DO NOT ADD NEW VERSIONS HERE WITHOUT CONSULTING THE CDX CORE-WORKING-GROUP
9+
FIELD_WIRE_COMPATIBLE_CARDINALITY:
10+
- 'schema/bom-1.6.proto'
11+
- 'schema/bom-1.5.proto'
12+
FIELD_WIRE_COMPATIBLE_TYPE:
13+
- 'schema/bom-1.5.proto'

tools/src/test/proto/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function schema-breaking-version () {
5050
then
5151
LOG_FORMAT='github-actions'
5252
else
53-
LOG_FORMAT='text'
53+
LOG_FORMAT='json'
5454
fi
5555

5656
function compare() {

0 commit comments

Comments
 (0)