rename lint workflow for less confusion

For a long time now, this has done 3 different things, only one of which
is mypy. But they are labeled:

- LintMypy / lint

  (runs pylint)

- LintMypy / custom_lint

  (runs a custom script)

- LintMypy / mypy

  (actually runs mypy)

This reduces the usable length of the label which isn't all that long to
begin with, is actively misleading, and even when you know what is going
on, it becomes harder to tell at a glance what failed. Change it to be
more unambiguous.
This commit is contained in:
Eli Schwartz 2021-12-30 14:58:57 -05:00 committed by Jussi Pakkanen
parent 1708148f51
commit 9f8df3529f
1 changed files with 5 additions and 5 deletions

View File

@ -1,22 +1,22 @@
name: LintMypy name: Lint
concurrency: concurrency:
group: mypy-${{ github.head_ref }} group: lint-${{ github.head_ref }}
cancel-in-progress: true cancel-in-progress: true
on: on:
push: push:
paths: paths:
- "**.py" - "**.py"
- ".github/workflows/lint_mypy.yml" - ".github/workflows/lint.yml"
pull_request: pull_request:
paths: paths:
- "**.py" - "**.py"
- ".github/workflows/lint_mypy.yml" - ".github/workflows/lint.yml"
jobs: jobs:
lint: pylint:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2