Skip to content

Commit 5d26f9e

Browse files
authored
fix deps script (#214)
* fix deps * bump version * fix linter * fix also in mac
1 parent e01a96a commit 5d26f9e

3 files changed

Lines changed: 7 additions & 8 deletions

File tree

.github/workflows/lint.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
- develop
1010

1111
permissions:
12-
contents: read
12+
contents: write
1313
pull-requests: write
1414

1515
jobs:
@@ -38,12 +38,11 @@ jobs:
3838
with:
3939
file-annotations: true
4040
files-changed-only: false
41-
ignore: "build|.github|cmake|fuzzing|.vscode|.idea"
41+
ignore: "build|.github|cmake|fuzzing|.vscode|.idea|include/view_templates.h"
4242
step-summary: true
4343
style: file # uses .clang-format
4444
thread-comments: true
4545
tidy-checks: "-*" # disable clang-tidy, only use clang-format
46-
format-review-errors: false # ignore parsing errors, only check formatting
4746

4847
- name: Fail if errors
4948
if: ${{ steps.linter.outputs['checks-failed'] > 0 }}

include/zxversion.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717

1818
#define ZXLIB_MAJOR 40
1919
#define ZXLIB_MINOR 0
20-
#define ZXLIB_PATCH 0
20+
#define ZXLIB_PATCH 1

scripts/install_deps.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818
os_string="$(uname -s)"
1919
case "${os_string}" in
2020
Linux*)
21-
sudo apt-get install libusb-1.0.0 libudev-dev
22-
pip install -U setuptools
23-
pip install -U --no-cache ledgerblue ecpy
21+
sudo apt-get install -y libusb-1.0-0 libudev-dev
22+
pip install --break-system-packages -U setuptools
23+
pip install --break-system-packages -U --no-cache ledgerblue ecpy
2424
;;
2525
Darwin*)
2626
brew install libusb
27-
pip install -U ledgerblue ecpy
27+
pip install --break-system-packages -U ledgerblue ecpy
2828
;;
2929
*)
3030
echo "OS not recognized"

0 commit comments

Comments
 (0)