File tree Expand file tree Collapse file tree 3 files changed +75
-3
lines changed Expand file tree Collapse file tree 3 files changed +75
-3
lines changed Original file line number Diff line number Diff line change 1
- # This workflow runs SwiftLint on all Swift files
2
-
3
- name : SwiftLint
1
+ name : Danger + SwiftLint
4
2
5
3
on :
6
4
pull_request :
7
5
paths :
8
6
- ' .github/workflows/danger.yml'
9
7
- ' .swiftlint.yml'
10
8
- ' **/*.swift'
9
+ - ' Dangerfile'
10
+ - ' Gemfile'
11
+ - ' Gemfile.lock'
11
12
12
13
jobs :
13
14
lint_danger :
17
18
- name : Checkout PR
18
19
uses : actions/checkout@v2
19
20
21
+ - name : Install bundler and danger gems
22
+ run : sudo gem install bundler && bundle install
23
+
20
24
- name : Run SwiftLint and output to lintreport.json
21
25
run : swiftlint lint --quiet --reporter json | tee lintreport.json
22
26
Original file line number Diff line number Diff line change
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "danger"
Original file line number Diff line number Diff line change
1
+ GEM
2
+ remote: https://rubygems.org/
3
+ specs:
4
+ addressable (2.7.0 )
5
+ public_suffix (>= 2.0.2 , < 5.0 )
6
+ claide (1.0.3 )
7
+ claide-plugins (0.9.2 )
8
+ cork
9
+ nap
10
+ open4 (~> 1.3 )
11
+ colored2 (3.1.2 )
12
+ cork (0.3.0 )
13
+ colored2 (~> 3.1 )
14
+ danger (8.2.0 )
15
+ claide (~> 1.0 )
16
+ claide-plugins (>= 0.9.2 )
17
+ colored2 (~> 3.1 )
18
+ cork (~> 0.1 )
19
+ faraday (>= 0.9.0 , < 2.0 )
20
+ faraday-http-cache (~> 2.0 )
21
+ git (~> 1.7 )
22
+ kramdown (~> 2.3 )
23
+ kramdown-parser-gfm (~> 1.0 )
24
+ no_proxy_fix
25
+ octokit (~> 4.7 )
26
+ terminal-table (~> 1 )
27
+ faraday (1.1.0 )
28
+ multipart-post (>= 1.2 , < 3 )
29
+ ruby2_keywords
30
+ faraday-http-cache (2.2.0 )
31
+ faraday (>= 0.8 )
32
+ git (1.7.0 )
33
+ rchardet (~> 1.8 )
34
+ kramdown (2.3.0 )
35
+ rexml
36
+ kramdown-parser-gfm (1.1.0 )
37
+ kramdown (~> 2.0 )
38
+ multipart-post (2.1.1 )
39
+ nap (1.1.0 )
40
+ no_proxy_fix (0.1.2 )
41
+ octokit (4.19.0 )
42
+ faraday (>= 0.9 )
43
+ sawyer (~> 0.8.0 , >= 0.5.3 )
44
+ open4 (1.3.4 )
45
+ public_suffix (4.0.6 )
46
+ rchardet (1.8.0 )
47
+ rexml (3.2.4 )
48
+ ruby2_keywords (0.0.2 )
49
+ sawyer (0.8.2 )
50
+ addressable (>= 2.3.5 )
51
+ faraday (> 0.8 , < 2.0 )
52
+ terminal-table (1.8.0 )
53
+ unicode-display_width (~> 1.1 , >= 1.1.1 )
54
+ unicode-display_width (1.7.0 )
55
+
56
+ PLATFORMS
57
+ ruby
58
+
59
+ DEPENDENCIES
60
+ danger
61
+
62
+ BUNDLED WITH
63
+ 2.1.4
You can’t perform that action at this time.
0 commit comments