GitHub Actions: Show diff on failure (#37461)

pull/37497/head
Franck Nijhof 2020-07-05 02:19:46 +02:00 committed by GitHub
parent 79fb722657
commit ff3407ea25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -110,7 +110,7 @@ jobs:
- name: Run bandit - name: Run bandit
run: | run: |
. venv/bin/activate . venv/bin/activate
pre-commit run --hook-stage manual bandit --all-files pre-commit run --hook-stage manual bandit --all-files --show-diff-on-failure
lint-black: lint-black:
name: Check black name: Check black
@ -154,7 +154,7 @@ jobs:
- name: Run black - name: Run black
run: | run: |
. venv/bin/activate . venv/bin/activate
pre-commit run --hook-stage manual black --all-files pre-commit run --hook-stage manual black --all-files --show-diff-on-failure
lint-codespell: lint-codespell:
name: Check codespell name: Check codespell
@ -358,7 +358,7 @@ jobs:
- name: Run isort - name: Run isort
run: | run: |
. venv/bin/activate . venv/bin/activate
pre-commit run --hook-stage manual isort --all-files pre-commit run --hook-stage manual isort --all-files --show-diff-on-failure
lint-json: lint-json:
name: Check JSON name: Check JSON
@ -449,7 +449,7 @@ jobs:
- name: Run pyupgrade - name: Run pyupgrade
run: | run: |
. venv/bin/activate . venv/bin/activate
pre-commit run --hook-stage manual pyupgrade --all-files pre-commit run --hook-stage manual pyupgrade --all-files --show-diff-on-failure
# Disabled until we have the existing issues fixed # Disabled until we have the existing issues fixed
# lint-shellcheck: # lint-shellcheck:
@ -507,7 +507,7 @@ jobs:
- name: Run yamllint - name: Run yamllint
run: | run: |
. venv/bin/activate . venv/bin/activate
pre-commit run --hook-stage manual yamllint --all-files pre-commit run --hook-stage manual yamllint --all-files --show-diff-on-failure
hassfest: hassfest:
name: Check hassfest name: Check hassfest