DRIVERS-3218 Avoid clearing the connection pool when the server conne… #2030
This file contains hidden or 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: Lint Files | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| jobs: | |
| # Run "pre-commit run --all-files" | |
| pre-commit: | |
| name: Run pre-commit checks | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v4 | |
| - name: "Run pre-commit" | |
| run: | | |
| pip install -U -q pre-commit | |
| pre-commit run --all-files --hook-stage manual || (git diff; false) | |
| mkdocs: | |
| name: Check docs | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v4 | |
| - name: Setup dependencies | |
| run: pip install -r source/requirements.txt | |
| - name: Check docs | |
| run: mkdocs build --strict |