Skip to content
Myr

lint.yml

This file

Path

.github/workflows/lint.yml

20 lines · 487 bytes · YAML

Last changed by

Merge pull request #6883 from psf/dependabot/github_actions/actions/setup-python-5.4.0Nate Prewittbefore adoptionf2a6ae5

History of this file

Take it

Add GitHub action to automate linting (#6157)Nate Prewittbefore adoption1dcf3b7

lines 1–2why, one step back
1name: Lint code
2

Upgrade lint.yml action (#6370)Nate Prewittbefore adoptionec78348

line 3why, one step back
3on: [push, pull_request]

Add GitHub action to automate linting (#6157)Nate Prewittbefore adoption1dcf3b7

line 4why, one step back
4

ci: add minimum GitHub token permissions for workflows (#6236)Ashish Kurmibefore adoptioneb07385

lines 5–7why, one step back
5permissions:
6 contents: read7

Add GitHub action to automate linting (#6157)Nate Prewittbefore adoption1dcf3b7

lines 8–10why, one step back
8jobs:
9 lint:10 runs-on: ubuntu-20.04

Upgrade lint.yml action (#6370)Nate Prewittbefore adoptionec78348

line 11why, one step back
11 timeout-minutes: 10

Add GitHub action to automate linting (#6157)Nate Prewittbefore adoption1dcf3b7

lines 12–13why, one step back
12
13 steps:

Merge pull request #6803 from psf/dependabot/github_actions/actions/checkout-4.2.0Nate Prewittbefore adoption7335bbf

line 14why, one step back
14 - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0

Add GitHub action to automate linting (#6157)Nate Prewittbefore adoption1dcf3b7

line 15why, one step back
15 - name: Set up Python

Merge pull request #6883 from psf/dependabot/github_actions/actions/setup-python-5.4.0Nate Prewittbefore adoptionf2a6ae5

line 16why, one step back
16 uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0

Upgrade lint.yml action (#6370)Nate Prewittbefore adoptionec78348

lines 17–18why, one step back
17 with:
18 python-version: "3.x"

Add GitHub action to automate linting (#6157)Nate Prewittbefore adoption1dcf3b7

line 19why, one step back
19 - name: Run pre-commit

Pin GHA workflows and add dependabot to keep them up to date (#6497)Nate Prewittbefore adoption2c193bd

line 20why, one step back
20 uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507 # v3.0.0