File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 8888 echo "::error::The formatting changed some files. Please run \`./Utilities/format.swift\` and commit the changes."
8989 exit 1
9090 }
91+
92+ check-bridgejs-generated :
93+ runs-on : ubuntu-latest
94+ container :
95+ image : swift:6.1.2
96+ steps :
97+ - uses : actions/checkout@v5
98+ - run : make bootstrap
99+ - run : ./Utilities/bridge-js-generate.sh
100+ - name : Check if BridgeJS generated files are up-to-date
101+ run : |
102+ git config --global --add safe.directory "$GITHUB_WORKSPACE"
103+ git diff --exit-code || {
104+ echo "::error::BridgeJS generated files are out of date. Please run \`./Utilities/bridge-js-generate.sh\` and commit the changes."
105+ exit 1
106+ }
107+
91108 build-examples :
92109 runs-on : ubuntu-latest
93110 steps :
You can’t perform that action at this time.
0 commit comments