浏览代码

Merge pull request #40365 from aaronfranke/black-path

Globally install Python libraries in GitHub Actions
Rémi Verschelde 5 年之前
父节点
当前提交
c2ed367d49
共有 1 个文件被更改,包括 1 次插入1 次删除
  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: |