Skip to content

Commit 7ee3437

Browse files
committed
Create lint_pod.yml
Update swift.yml
1 parent 6bae58d commit 7ee3437

File tree

3 files changed

+35
-2
lines changed

3 files changed

+35
-2
lines changed

.github/workflows/lint_pod.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Lint Pod
2+
3+
on:
4+
pull_request:
5+
branches: [ master ]
6+
types: [ assigned, opened, synchronize, reopened ]
7+
8+
jobs:
9+
pod-lint:
10+
name: Lint Pod
11+
runs-on: macos-latest
12+
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v3
16+
17+
- name: Load and Install Bundle Cache
18+
uses: ruby/setup-ruby@v1
19+
with:
20+
ruby-version: 2.6
21+
bundler-cache: true
22+
23+
- name: Lint Pod
24+
run: bundle exec pod lib lint HealthKitReporter.podspec --allow-warnings

.github/workflows/swift.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
name: Swift
22

33
on:
4-
push:
5-
branches: [ master ]
64
pull_request:
75
branches: [ master ]
6+
types: [ assigned, opened, synchronize, reopened ]
87

98
jobs:
109
build:

Gemfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# frozen_string_literal: true
2+
3+
source 'https://rubygems.org'
4+
5+
ruby '~> 2.6.0'
6+
7+
gem 'cocoapods', '~> 1.11.2'
8+
gem 'fastlane', '~> 2.178'
9+
gem 'xcode-install', '~> 2.6.8'
10+
gem 'xcpretty-actions-formatter', '~> 0.1.2'

0 commit comments

Comments
 (0)