build: add PrivacyInfo.xcprivacy into podspec #154
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Validations | |
on: | |
pull_request_target: | |
branches: [main] | |
types: [opened, reoneped, edited, synchronized] | |
# workflow_dispatch: | |
# inputs: | |
# commit hash: | |
# description: "Commit hash" | |
# required: true | |
# default: "" | |
jobs: | |
lint: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run SwiftLint | |
run: swiftlint lint --reporter github-actions-logging | |
danger: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Danger | |
uses: docker://frmeloni/danger-swift-with-swiftlint:1.3.1 | |
with: | |
args: --failOnErrors --verbose | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |