GHA: Force colour output of pre-commit

This commit is contained in:
Hugo 2020-06-22 12:22:43 +03:00
parent c4c1b51f45
commit 7e3556e5f6
2 changed files with 4 additions and 1 deletions

View File

@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v2
- name: pip cache
uses: actions/cache@v1
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: lint-pip-${{ hashFiles('**/setup.py') }}
@ -46,4 +46,6 @@ jobs:
- name: Lint
run: tox -e lint
env:
PRE_COMMIT_COLOR: always

View File

@ -30,3 +30,4 @@ deps =
pre-commit
check-manifest
skip_install = true
passenv = PRE_COMMIT_COLOR