Skip to content

Commit

Permalink
Fix search of Python files in lint-python workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
kdeldycke committed Mar 9, 2022
1 parent 03d3b8e commit 2f5de90
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,14 @@ jobs:
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt
- name: '*.py files found?'
uses: tj-actions/[email protected]
id: glob
with:
files: |
**.py
- name: Run Pylint
if: hashFiles('**/*.py')
if: steps.glob.outputs.paths
# Docs:
# http://pylint.pycqa.org/en/latest/technical_reference/features.html
# --output-format=colorized
Expand Down
2 changes: 2 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
This version is not released yet and is under active development.
```

- Fix search of Python files in `lint-python` workflow.

## [0.9.0 (2022-03-09)](https://github.com/kdeldycke/workflows/compare/v0.8.6...v0.9.0)

- Add Zsh script linter.
Expand Down

0 comments on commit 2f5de90

Please sign in to comment.