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 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-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+
91109 build-examples :
92110 runs-on : ubuntu-latest
93111 steps :
You can’t perform that action at this time.
0 commit comments