Skip to content

Commit

Permalink
#ci, try GitHub actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
BB9z committed Sep 25, 2020
1 parent 05e6d8b commit 13a13f9
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 3 deletions.
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# https://help.github.com/en/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
25 changes: 25 additions & 0 deletions .github/workflows/cocoapods.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: CocoaPods

on: [push, pull_request]

jobs:
lint:
runs-on: macos-latest
if: ${{ startsWith(github.ref, 'refs/heads') }}
steps:
- uses: actions/checkout@v2
- name: Lint the podspec
if: github.tag == ''
run: |
pod lib lint --fail-fast --allow-warnings
release:
runs-on: macos-latest
if: ${{ startsWith(github.ref, 'refs/tags') }}
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
steps:
- uses: actions/checkout@v2
- name: Release the podspec
run: |
pod trunk push "RFKit.podspec"
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ env:
- RFCI_PRODUCT_NAME="RFKit"
jobs:
include:
- osx_image: xcode12
env: RFCI_TASK="POD_LINT"
- osx_image: xcode12
env:
- RFCI_TASK="Xcode12"
Expand All @@ -20,6 +18,6 @@ jobs:
- osx_image: xcode10
env: RFCI_TASK="Xcode10"
before_install: ./.travis.sh SETUP
script: travis_wait 20 ./.travis.sh MAIN
script: ./.travis.sh MAIN
after_success: ./.travis.sh SUCCESS
after_failure: ./.travis.sh FAILURE

0 comments on commit 13a13f9

Please sign in to comment.