This repository has been archived by the owner on Aug 26, 2024. It is now read-only.
Bump tj-actions/changed-files from 35 to 41 in /.github/workflows #23
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PEP8 Style Checker | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Test PEP8 Style | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Get changed files | |
id: changed-files | |
uses: tj-actions/changed-files@v41 | |
- name: Setup pycodestyle | |
run: pip install pycodestyle | |
- name: Check style | |
run: | | |
for file in ${{ steps.changed-files.outputs.all_changed_files }}; | |
do if [[ $file == *.py ]]; | |
then pycodestyle --max-line-length=150 --first $file; | |
fi; | |
done |