浏览代码

Merge pull request #1063 from jelmer/releaser-validate

Validate releaesr configuration in GitHub actions
Jelmer Vernooij 2 年之前
父节点
当前提交
d8db5691b9
共有 1 个文件被更改,包括 23 次插入0 次删除
  1. 23 0
      .github/workflows/releaser.yml

+ 23 - 0
.github/workflows/releaser.yml

@@ -0,0 +1,23 @@
+name: Releaser configuration
+
+on:
+  - push
+
+jobs:
+  build:
+
+    runs-on: ubuntu-latest
+
+    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 releaser
+        run: |
+          pip install git+https://github.com/jelmer/releaser
+      - name: Validate releaser.conf
+        run: |
+          PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python releaser validate .