chore(deps): bump amannn/action-semantic-pull-request from 335288255954904a41ddda8947c8f2c844b8bfeb to a46a7c8dc4bb34503174eba2f2f7ef80dffc8ed7 #54
Workflow file for this run
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@85e6279cec87321a52edac9c87bce653a07cf6c2 # 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 |