File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 88
88
echo "::error::The formatting changed some files. Please run \`./Utilities/format.swift\` and commit the changes."
89
89
exit 1
90
90
}
91
+
92
+ check-bridgejs-generated :
93
+ runs-on : ubuntu-22.04
94
+ steps :
95
+ - uses : actions/checkout@v5
96
+ - uses : ./.github/actions/install-swift
97
+ with :
98
+ download-url : https://download.swift.org/development/ubuntu2204/swift-DEVELOPMENT-SNAPSHOT-2025-06-12-a/swift-DEVELOPMENT-SNAPSHOT-2025-06-12-a-ubuntu22.04.tar.gz
99
+ - run : make bootstrap
100
+ - run : ./Utilities/bridge-js-generate.sh
101
+ - name : Check if BridgeJS generated files are up-to-date
102
+ run : |
103
+ git config --global --add safe.directory "$GITHUB_WORKSPACE"
104
+ git diff --exit-code || {
105
+ echo "::error::BridgeJS generated files are out of date. Please run \`./Utilities/bridge-js-generate.sh\` and commit the changes."
106
+ exit 1
107
+ }
108
+
91
109
build-examples :
92
110
runs-on : ubuntu-latest
93
111
steps :
You can’t perform that action at this time.
0 commit comments