瀏覽代碼

use same black version on gh actions as locally

Thomas Waldmann 2 年之前
父節點
當前提交
fa9381a476
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      .github/workflows/black.yaml

+ 2 - 1
.github/workflows/black.yaml

@@ -1,4 +1,5 @@
 # https://black.readthedocs.io/en/stable/integrations/github_actions.html#usage
+# see also what we use locally, requirements.d/codestyle.txt - should be the same version here.
 
 name: Lint
 
@@ -9,4 +10,4 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v2
-      - uses: psf/black@stable
+      - uses: psf/black@22.6.0