2929 # Starting new jobs is also relatively slow,
3030 # so linting on fewer versions makes CI faster.
3131 python-version :
32- - " 3.9 "
32+ - " 3.10 "
3333 - " 3.13"
3434 steps :
3535 - uses : actions/checkout@v4
4040 python-version : ${{ matrix.python-version }}
4141 poetry-version : ${{ env.POETRY_VERSION }}
4242 working-directory : ${{ inputs.working-directory }}
43- cache-key : lint-with-extras
43+ cache-key : lint-with-extras-codegen
4444
4545 - name : Check Poetry File
4646 shell : bash
@@ -55,12 +55,14 @@ jobs:
5555 # This helps catch errors that require dependencies to be spotted, for example:
5656 # https://github.com/langchain-ai/langchain/pull/10249/files#diff-935185cd488d015f026dcd9e19616ff62863e8cde8c0bee70318d3ccbca98341
5757 #
58+ # Also installs codegen dependencies (unasync) needed for run_unasync_check.
59+ #
5860 # If you change this configuration, make sure to change the `cache-key`
5961 # in the `poetry_setup` action above to stop using the old cache.
6062 # It doesn't matter how you change it, any change will cause a cache-bust.
6163 working-directory : ${{ inputs.working-directory }}
6264 run : |
63- poetry install --with lint,typing
65+ poetry install --with lint,typing,codegen
6466
6567 - name : Get .mypy_cache to speed up mypy
6668 uses : actions/cache@v4
9597 working-directory : ${{ inputs.working-directory }}
9698 run : |
9799 make lint_tests
100+
101+ - name : Check that sync files match unasync-generated files
102+ working-directory : ${{ inputs.working-directory }}
103+ run : |
104+ make run_unasync_check
0 commit comments