Skip to content

Commit

Permalink
[CI] Fix danger, run pod lib lint (#16)
Browse files Browse the repository at this point in the history
Close #14
Close #15
  • Loading branch information
jessesquires committed May 20, 2020
1 parent da468fc commit b031d21
Show file tree
Hide file tree
Showing 5 changed files with 133 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/danger.yml
Expand Up @@ -3,7 +3,7 @@ name: Danger
on: pull_request

env:
DEVELOPER_DIR: /Applications/Xcode_11.4.app/Contents/Developer
DEVELOPER_DIR: /Applications/Xcode_11.4.1.app/Contents/Developer

jobs:
job-danger:
Expand Down
42 changes: 42 additions & 0 deletions .github/workflows/pod-lint.yml
@@ -0,0 +1,42 @@
name: CocoaPods Lint

on:
push:
branches:
- master
pull_request:
branches:
- master

env:
DEVELOPER_DIR: /Applications/Xcode_11.4.1.app/Contents/Developer

jobs:
job-pod-lint:
name: Pod Lint
runs-on: macOS-latest
steps:
- name: git checkout
uses: actions/checkout@v1

- name: ruby versions
run: |
ruby --version
gem --version
bundler --version
- name: cache gems
uses: actions/cache@v1
with:
path: vendor/bundle
key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gem-
- name: bundle install
run: |
bundle config path vendor/bundle
bundle install --without=documentation --jobs 4 --retry 3
- name: pod lint
run: bundle exec pod lib lint
2 changes: 2 additions & 0 deletions Gemfile
@@ -1,5 +1,7 @@
source 'https://rubygems.org'

gem 'cocoapods', '1.9.1'

gem 'danger'
gem 'danger-todoist'
gem 'danger-prose'
Expand Down
96 changes: 87 additions & 9 deletions Gemfile.lock
@@ -1,24 +1,72 @@
GEM
remote: https://rubygems.org/
specs:
CFPropertyList (3.0.2)
activesupport (4.2.11.3)
i18n (~> 0.7)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0)
algoliasearch (1.27.2)
httpclient (~> 2.8, >= 2.8.3)
json (>= 1.5.1)
atomos (0.1.3)
claide (1.0.3)
claide-plugins (0.9.2)
cork
nap
open4 (~> 1.3)
cocoapods (1.9.1)
activesupport (>= 4.0.2, < 5)
claide (>= 1.0.2, < 2.0)
cocoapods-core (= 1.9.1)
cocoapods-deintegrate (>= 1.0.3, < 2.0)
cocoapods-downloader (>= 1.2.2, < 2.0)
cocoapods-plugins (>= 1.0.0, < 2.0)
cocoapods-search (>= 1.0.0, < 2.0)
cocoapods-stats (>= 1.0.0, < 2.0)
cocoapods-trunk (>= 1.4.0, < 2.0)
cocoapods-try (>= 1.1.0, < 2.0)
colored2 (~> 3.1)
escape (~> 0.0.4)
fourflusher (>= 2.3.0, < 3.0)
gh_inspector (~> 1.0)
molinillo (~> 0.6.6)
nap (~> 1.0)
ruby-macho (~> 1.4)
xcodeproj (>= 1.14.0, < 2.0)
cocoapods-core (1.9.1)
activesupport (>= 4.0.2, < 6)
algoliasearch (~> 1.0)
concurrent-ruby (~> 1.1)
fuzzy_match (~> 2.0.4)
nap (~> 1.0)
netrc (~> 0.11)
typhoeus (~> 1.0)
cocoapods-deintegrate (1.0.4)
cocoapods-downloader (1.3.0)
cocoapods-plugins (1.0.0)
nap
cocoapods-search (1.0.0)
cocoapods-stats (1.1.0)
cocoapods-trunk (1.5.0)
nap (>= 0.8, < 2.0)
netrc (~> 0.11)
cocoapods-try (1.2.0)
colored2 (3.1.2)
concurrent-ruby (1.1.6)
cork (0.3.0)
colored2 (~> 3.1)
danger (6.3.2)
danger (8.0.0)
claide (~> 1.0)
claide-plugins (>= 0.9.2)
colored2 (~> 3.1)
cork (~> 0.1)
faraday (~> 0.9)
faraday (>= 0.9.0, < 2.0)
faraday-http-cache (~> 2.0)
git (~> 1.6)
git (~> 1.7)
kramdown (~> 2.0)
kramdown-parser-gfm (~> 1.0)
no_proxy_fix
Expand All @@ -34,37 +82,67 @@ GEM
thor (~> 0.19)
danger-todoist (2.0.1)
danger-plugin-api (~> 1.0)
faraday (0.17.3)
escape (0.0.4)
ethon (0.12.0)
ffi (>= 1.3.0)
faraday (1.0.1)
multipart-post (>= 1.2, < 3)
faraday-http-cache (2.1.0)
faraday (~> 0.8)
git (1.6.0)
faraday-http-cache (2.2.0)
faraday (>= 0.8)
ffi (1.12.2)
fourflusher (2.3.1)
fuzzy_match (2.0.4)
gh_inspector (1.1.3)
git (1.7.0)
rchardet (~> 1.8)
kramdown (2.1.0)
httpclient (2.8.3)
i18n (0.9.5)
concurrent-ruby (~> 1.0)
json (2.3.0)
kramdown (2.2.1)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
minitest (5.14.1)
molinillo (0.6.6)
multipart-post (2.1.1)
nanaimo (0.2.6)
nap (1.1.0)
netrc (0.11.0)
no_proxy_fix (0.1.2)
octokit (4.18.0)
faraday (>= 0.9)
sawyer (~> 0.8.0, >= 0.5.3)
open4 (1.3.4)
public_suffix (4.0.4)
public_suffix (4.0.5)
rake (13.0.1)
rchardet (1.8.0)
rexml (3.2.4)
ruby-macho (1.4.0)
sawyer (0.8.2)
addressable (>= 2.3.5)
faraday (> 0.8, < 2.0)
terminal-table (1.8.0)
unicode-display_width (~> 1.1, >= 1.1.1)
thor (0.20.3)
thread_safe (0.3.6)
typhoeus (1.4.0)
ethon (>= 0.9.0)
tzinfo (1.2.7)
thread_safe (~> 0.1)
unicode-display_width (1.7.0)
xcodeproj (1.16.0)
CFPropertyList (>= 2.3.3, < 4.0)
atomos (~> 0.1.3)
claide (>= 1.0.2, < 2.0)
colored2 (~> 3.1)
nanaimo (~> 0.2.6)

PLATFORMS
ruby

DEPENDENCIES
cocoapods (= 1.9.1)
danger
danger-prose
danger-swiftlint
Expand Down
2 changes: 1 addition & 1 deletion Nine41.podspec
Expand Up @@ -11,7 +11,7 @@ Pod::Spec.new do |s|
s.source = { :git => 'https://github.com/jessesquires/Nine41.git', :tag => s.version }
s.source_files = 'Sources/**/*'

s.source_files = 'Sources/**/*'
s.swift_version = '5.2'

s.ios.deployment_target = '10.0'
s.osx.deployment_target = '10.15'
Expand Down

0 comments on commit b031d21

Please sign in to comment.