Install indentation deps

This commit is contained in:
Matthias Kuhn 2020-05-11 15:35:52 +02:00
parent 02df2577c8
commit 84e6378324
2 changed files with 7 additions and 1 deletions

View File

@ -102,6 +102,12 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 100
- name: Install Requirements
run: |
sudo apt install -y \
astyle \
python-autopep8 \
flip
- name: Indentation Test
run: ./scripts/verify_indentation.sh HEAD~1

View File

@ -20,7 +20,7 @@ ASTYLEDIFF=/tmp/astyle.diff
true > $ASTYLEDIFF
echo "Commit range: $1"
# echo "Commit range: $1"
FILES=$(git diff --diff-filter=AM --name-only $1 | tr '\n' ' ' )
for f in $FILES; do