blob: a9918848942b1a224289e2f49eb8ae3bf37c435a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
name: lint
on: [push, pull_request]
permissions: "read-all"
jobs:
lint:
runs-on: ubuntu-20.04
timeout-minutes: 10
steps:
- name: "Checkout repository"
uses: "actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3"
- name: "Setup Python"
uses: "actions/setup-python@57ded4d7d5e986d7296eab16560982c6dd7c923b"
with:
python-version: "3.x"
cache: pip
- name: "Run pre-commit"
uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507
- name: "Install dependencies"
run: python -m pip install nox
- name: "Run mypy"
run: nox -s mypy
|