diff --git a/.github/workflows/lint_podspec.yml b/.github/workflows/lint_podspec.yml new file mode 100644 index 0000000..6295b76 --- /dev/null +++ b/.github/workflows/lint_podspec.yml @@ -0,0 +1,18 @@ +name: Lint Podspec + +on: + workflow_dispatch: + +jobs: + build: + runs-on: macos-latest + steps: + - uses: actions/checkout@v2 + - name: Lint Podspec + env: + # For info on how to obtain a new token see + # https://medium.com/swlh/automated-cocoapod-releases-with-github-actions-8526dd4535c7 + COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} + run: | + pod trunk me + pod spec lint FireworkVideoUI.podspec