Add **dataloader_kwargs for embedders #1115
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Run manual pre-commit stage" | |
on: | |
pull_request: | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
run-manual-stage: | |
name: Run pre-commit manual stage | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.12 | |
- uses: pdm-project/setup-pdm@v3 | |
name: Setup PDM | |
with: | |
python-version: 3.12 | |
architecture: x64 | |
enable-pep582: true | |
cache: true | |
cache-dependency-path: "**/pdm.lock" | |
- uses: pre-commit/[email protected] | |
with: | |
extra_args: --all-files --hook-stage manual --verbose | |
- name: Show dependencies graph | |
run: | | |
pdm install -d -G license --skip=post_install | |
pdm run pipdeptree --license |