Remove hard-coded version from scripts/run_astyle.sh

This script now works the same way as cppcheck. The version to
be used is specified once in the github CI action
This commit is contained in:
matt335672
2024-02-12 10:03:56 +00:00
parent 4c2a7e893b
commit b9fd19e6b5
2 changed files with 47 additions and 29 deletions
+1 -1
View File
@@ -213,6 +213,6 @@ jobs:
- run: sudo scripts/install_astyle_dependencies_with_apt.sh
- run: scripts/install_astyle.sh $ASTYLE_REPO $ASTYLE_VER
- name: Format code with astyle
run: scripts/run_astyle.sh
run: scripts/run_astyle.sh -v $ASTYLE_VER
- name: Check code formatting
run: git diff --exit-code