Browse Source

Globally install Python libraries in GitHub Actions

Otherwise it uses ~/.local/bin which GitHub doesn't include in PATH
Aaron Franke 5 năm trước cách đây
mục cha
commit
61c9f11434

+ 1 - 1
.github/workflows/static_checks.yml

@@ -12,7 +12,7 @@ jobs:
         run: |
         run: |
           sudo apt-get update -qq
           sudo apt-get update -qq
           sudo apt-get install -qq dos2unix recode clang-format
           sudo apt-get install -qq dos2unix recode clang-format
-          pip3 install --user black pygments
+          sudo pip3 install black pygments
 
 
       - name: File formatting checks (file_format.sh)
       - name: File formatting checks (file_format.sh)
         run: |
         run: |