Browse Source

Globally install Python libraries in GitHub Actions

Otherwise it uses ~/.local/bin which GitHub doesn't include in PATH
Aaron Franke 5 years ago
parent
commit
61c9f11434
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/workflows/static_checks.yml

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

@@ -12,7 +12,7 @@ jobs:
         run: |
           sudo apt-get update -qq
           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)
         run: |