chore(deps): bump actions/checkout from 85e6279cec87321a52edac9c87bce653a07cf6c2 to ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 #53
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 | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request_target: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event.pull_request.number || '0' }} | |
| cancel-in-progress: true | |
| jobs: | |
| check: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.2.2 | |
| - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 | |
| with: | |
| python-version-file: "pyproject.toml" | |
| cache: "pip" | |
| - name: Install dependencies | |
| run: pip install .[lint] | |
| - name: Run check | |
| run: ruff check && ruff format --check && mypy src/main.py |