File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ Pod ::Spec . new do |s |
2+ s . name = 'Dwifft'
3+ s . version = '0.9'
4+ s . license = 'MIT'
5+ s . summary = 'Swift Diff'
6+ s . homepage = 'https://github.com/jflinter/Dwifft'
7+ s . social_media_url = 'http://twitter.com/jflinter'
8+ s . author = 'Jack Flintermann'
9+ s . source = { git : 'https://github.com/jflinter/Dwifft.git' , tag : s . version }
10+
11+ s . swift_version = '5.0'
12+
13+ s . ios . deployment_target = '12.0'
14+ s . tvos . deployment_target = '12.0'
15+ s . osx . deployment_target = '10.13'
16+
17+ s . source_files = 'Dwifft/*.swift'
18+
19+ s . requires_arc = true
20+ end
Original file line number Diff line number Diff line change 1+ Pod ::Spec . new do |s |
2+ s . name = "SwiftyJSON"
3+ s . version = "5.0.1"
4+ s . summary = "SwiftyJSON makes it easy to deal with JSON data in Swift"
5+ s . homepage = "https://github.com/SwiftyJSON/SwiftyJSON"
6+ s . license = { :type => "MIT" }
7+ s . authors = { "lingoer" => "lingoerer@gmail.com" , "tangplin" => "tangplin@gmail.com" }
8+
9+ s . requires_arc = true
10+ s . swift_version = "5.0"
11+ s . osx . deployment_target = "10.13"
12+ s . ios . deployment_target = "12.0"
13+ s . watchos . deployment_target = "4.0"
14+ s . tvos . deployment_target = "12.0"
15+ s . source = { :git => "https://github.com/SwiftyJSON/SwiftyJSON.git" , :tag => s . version }
16+ s . source_files = "Source/SwiftyJSON/*.swift"
17+ end
Original file line number Diff line number Diff line change 1+ name : ci
2+ on :
3+ pull_request :
4+
5+ workflow_dispatch :
6+
7+ push :
8+ branches :
9+ - master
10+
11+ jobs :
12+ run_pod_tests :
13+ name : Run pod tests
14+ runs-on : macos-latest
15+ steps :
16+ - name : Checkout repo
17+ uses : actions/checkout@v4
18+
19+ - name : Setup Ruby
20+ uses : ruby/setup-ruby@v1
21+ with :
22+ bundler-cache : true
23+
24+ - name : Define validation directory
25+ id : define_validation_dir
26+ run : echo "path=${{ runner.temp }}/validation_${{ github.run_number }}_${{ github.run_attempt }}" >> $GITHUB_OUTPUT
27+
28+ - name : Run pod unit tests
29+ run : |
30+ bundle exec pod lib lint \
31+ --allow-warnings \
32+ --external-podspecs=".github/fixed_podspecs/**/*.podspec" \
33+ --validation-dir="${{ steps.define_validation_dir.outputs.path }}" \
34+ --no-clean
35+
36+ - name : Upload test artifacts
37+ if : ${{ failure() }}
38+ uses : actions/upload-artifact@v3
39+ with :
40+ name : test_artifacts
41+ path : ${{ steps.define_validation_dir.outputs.path }}
You can’t perform that action at this time.
0 commit comments