Skip to content

Merge pull request #6818 from psf/dependabot/github_actions/github/co… #607

Merge pull request #6818 from psf/dependabot/github_actions/github/co…

Merge pull request #6818 from psf/dependabot/github_actions/github/co… #607

Workflow file for this run

name: Lint code
on: [push, pull_request]
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-20.04
timeout-minutes: 10
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: Set up Python
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
with:
python-version: "3.x"
- name: Run pre-commit
uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507 # v3.0.0