Skip to content

Commit c257143

Browse files
gjcairothomasvl
authored andcommitted
Update API breakage GH actions to run for SwiftProtobufPluginLibrary too
1 parent 7201e81 commit c257143

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,8 @@ jobs:
127127
# https://github.com/actions/checkout/issues/766
128128
run: git config --global --add safe.directory ${GITHUB_WORKSPACE}
129129
- name: Check for API breaking changes
130-
run: swift package diagnose-api-breaking-changes origin/main --products SwiftProtobuf
130+
run: |
131+
swift package diagnose-api-breaking-changes origin/main --breakage-allowlist-path known_api_breaks.txt
131132
132133
api-breakage-since-last-release:
133134
name: Api Breakage Compared to Last Release
@@ -156,8 +157,7 @@ jobs:
156157
run: |
157158
LAST_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
158159
echo "Checking for breaks against the tag: ${LAST_TAG}"
159-
swift package diagnose-api-breaking-changes "${LAST_TAG}" --products SwiftProtobuf \
160-
--breakage-allowlist-path known_api_breaks.txt
160+
swift package diagnose-api-breaking-changes "${LAST_TAG}" --breakage-allowlist-path known_api_breaks.txt
161161
162162
sanitizer_testing:
163163
# Using older ubuntu image due to issue with newer linux kernel images. When

0 commit comments

Comments
 (0)