bump version of smarter-client #93
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: Linting | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - master | |
| - dev | |
| pull_request: | |
| env: | |
| DEFAULT_PYTHON: 3.12 | |
| jobs: | |
| pre-commit: | |
| runs-on: "ubuntu-latest" | |
| name: Pre-commit | |
| steps: | |
| - name: Check out the repository | |
| uses: actions/[email protected] | |
| - name: Set up Python ${{ env.DEFAULT_PYTHON }} | |
| uses: actions/[email protected] | |
| with: | |
| python-version: ${{ env.DEFAULT_PYTHON }} | |
| - uses: pdm-project/setup-pdm@v4 | |
| with: | |
| python-version: ${{ env.DEFAULT_PYTHON }} | |
| cache: true | |
| allow-python-prereleases: true | |
| cache-dependency-path: | | |
| ./pdm.lock | |
| ./pdm.new.lock | |
| - name: Install dependencies | |
| run: | | |
| pdm venv create --with-pip --force $PYTHON | |
| pdm install -G linting | |
| - name: Run pre-commit on all files | |
| run: | | |
| pdm run pre-commit run --all-files --show-diff-on-failure --color=always |