3333 - 'github/workflows/swift.yml'
3434 - "misc/bazel/**"
3535 - "*.bazel*"
36- - 'swift/actions/env- setup/**'
36+ - 'swift/actions/setup-env /**'
3737 - '.pre-commit-config.yaml'
3838 - 'swift/codegen/**'
3939 - 'swift/schema.py'
@@ -52,17 +52,12 @@ jobs:
5252 runs-on : macos-12-xl
5353 steps :
5454 - uses : actions/checkout@v3
55- - uses : ./swift/actions/create-extractor-pack
56- # loading bazel targets is very long on the basic macOS runner
57- # therefore it's better to test the X
58- - name : Test the Xcode autobuilder
59- run : |
60- bazel test //swift/xcode-autobuilder/tests
55+ - uses : ./swift/actions/create-and-test-extractor-pack
6156 build-linux :
6257 runs-on : ubuntu-20.04
6358 steps :
6459 - uses : actions/checkout@v3
65- - uses : ./swift/actions/create-extractor-pack
60+ - uses : ./swift/actions/create-and-test- extractor-pack
6661 qltests-linux :
6762 needs : build-linux
6863 runs-on : ubuntu-latest
@@ -99,14 +94,11 @@ jobs:
9994 if : ${{ needs.changes.outputs.codegen == 'true' }}
10095 steps :
10196 - uses : actions/checkout@v3
102- - uses : ./swift/actions/env- setup
97+ - uses : ./swift/actions/setup-env
10398 -
uses :
pre-commit/[email protected] 10499 name : Check that python code is properly formatted
105100 with :
106101 extra_args : autopep8 --all-files
107- - name : Run unit tests
108- run : |
109- bazel test //swift/codegen/test --test_output=errors
110102 - uses : ./.github/actions/fetch-codeql
111103 -
uses :
pre-commit/[email protected] 112104 name : Check that QL generated code was checked in
0 commit comments