Skip to content

Commit

Permalink
GHA: Force colour output of pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Jun 22, 2020
1 parent c4c1b51 commit 7e3556e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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') }}
Expand Down Expand Up @@ -46,4 +46,6 @@ jobs:
- name: Lint
run: tox -e lint
env:
PRE_COMMIT_COLOR: always

1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ deps =
pre-commit
check-manifest
skip_install = true
passenv = PRE_COMMIT_COLOR

0 comments on commit 7e3556e

Please sign in to comment.