File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : " Swift: Check code generation"
2+
3+ on :
4+ pull_request :
5+ paths :
6+ - " swift/**"
7+ - .github/workflows/swift-codegen.yml
8+ branches :
9+ - main
10+
11+ jobs :
12+ codegen :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v2
16+ - uses : actions/setup-python@v3
17+ with :
18+ python-version : ' ~3.7'
19+ cache : ' pip'
20+ - uses : ./.github/actions/fetch-codeql
21+ - uses : bazelbuild/setup-bazelisk@v2
22+ - name : Check code generation
23+ run : |
24+ pip install -r swift/codegen/requirements.txt
25+ bazel run //swift/codegen
26+ git add .
27+ git diff --exit-code --stat HEAD
Original file line number Diff line number Diff line change @@ -12,17 +12,6 @@ defaults:
1212 working-directory : swift
1313
1414jobs :
15- codegen :
16- runs-on : ubuntu-latest
17- steps :
18- - uses : actions/checkout@v2
19- - uses : ./.github/actions/fetch-codeql
20- - uses : bazelbuild/setup-bazelisk@v2
21- - name : Check code generation
22- run : |
23- bazel run //swift/codegen
24- git add .
25- git diff --exit-code --stat HEAD
2615 qlformat :
2716 runs-on : ubuntu-latest
2817 steps :
You can’t perform that action at this time.
0 commit comments