Skip to content

Commit efe2fb6

Browse files
committed
Add GitHub Action to check that the generated source code is up to date
1 parent f325c9c commit efe2fb6

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/pull_request.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,15 @@ jobs:
2525
unacceptable_language_check_enabled: false
2626
# https://github.com/swiftlang/swift-syntax/issues/2991
2727
yamllint_check_enabled: false
28+
verify_source_code:
29+
name: Validate generated code
30+
runs-on: ubuntu-latest
31+
container:
32+
image: swift:latest
33+
steps:
34+
- name: Checkout repository
35+
uses: actions/checkout@v4
36+
with:
37+
persist-credentials: false
38+
- name: Validate generated code
39+
run: "./swift-syntax-dev-utils verify-source-code --toolchain /usr"

0 commit comments

Comments
 (0)