Просмотр исходного кода

ci: test the language tool and recheck PRs retargeted to next

Run the language tool's unit tests in the generated sources workflow, and
also run it when a pull request is edited, so a PR that is retargeted from
main to next is checked without needing another push.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jamesread 21 часов назад
Родитель
Сommit
95acede208
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      .github/workflows/generated.yml

+ 5 - 0
.github/workflows/generated.yml

@@ -18,6 +18,7 @@ on:
       - 'service/Makefile'
       - 'service/tools.go'
   pull_request:
+    types: [opened, synchronize, reopened, edited]
     branches:
       - next
     paths:
@@ -54,5 +55,9 @@ jobs:
             service/go.sum
             lang/go.sum
 
+      - name: Test language tool
+        run: go test ./...
+        working-directory: lang
+
       - name: Check generated sources
         run: make generated-check