lint.yml
This file
Path
.github/workflows/lint.yml
24 lines · 588 bytes · YAML
Last changed by
Bump the actions group with 2 updates (#7596)dependabot[bot]before adoption414f051
History of this fileTake it
12345678910111213141516171819202122232425name: Lint code
on: [push, pull_request]
permissions: contents: read
jobs: lint: runs-on: ubuntu-24.04 timeout-minutes: 10
steps: - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: persist-credentials: false - name: Set up Python uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 with: python-version: "3.x" - name: Run pre-commit run: | python -m pip install pre-commit==4.6.0 pre-commit run --show-diff-on-failure --color=always --all-files