diff --git a/.github/workflows/Checks.yml b/.github/workflows/Checks.yml new file mode 100644 index 0000000..61758d1 --- /dev/null +++ b/.github/workflows/Checks.yml @@ -0,0 +1,15 @@ +name: Checks + +on: [push] + +jobs: + lint: + runs-on: macos-latest + + steps: + - uses: maxim-lobanov/setup-xcode@v1.1 + with: + xcode-version: "12.3" + - uses: actions/checkout@v2 + - name: Lint Cocoapods + run: pod lib lint --allow-warnings diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml new file mode 100644 index 0000000..9ce1ced --- /dev/null +++ b/.github/workflows/Release.yml @@ -0,0 +1,19 @@ +name: Release + +on: + push: + tags: + - "*" + +jobs: + pod-trunk-push: + runs-on: macOS-latest + steps: + - uses: maxim-lobanov/setup-xcode@v1.1 + with: + xcode-version: "12.3" + - uses: actions/checkout@v2 + - name: Deploy + env: + COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} + run: pod trunk push EasyPeasy.podspec --allow-warnings