瀏覽代碼

Use disperse validate action.

Jelmer Vernooij 2 年之前
父節點
當前提交
50982370a0
共有 1 個文件被更改,包括 1 次插入11 次删除
  1. 1 11
      .github/workflows/disperse.yml

+ 1 - 11
.github/workflows/disperse.yml

@@ -11,14 +11,4 @@ jobs:
 
     steps:
       - uses: actions/checkout@v2
-      - name: Set up Python
-        uses: actions/setup-python@v2
-      - name: Install dependencies
-        run: |
-          sudo apt install protobuf-compiler
-      - name: Install disperse
-        run: |
-          pip install git+https://github.com/jelmer/disperse
-      - name: Validate disperse.conf
-        run: |
-          PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python disperse validate .
+      - uses: jelmer/action-disperse-validate@v1