File tree Expand file tree Collapse file tree 2 files changed +33
-5
lines changed Expand file tree Collapse file tree 2 files changed +33
-5
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ pull_request :
5
+ branches :
6
+ - master
7
+
8
+ jobs :
9
+ danger :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - uses : actions/checkout@v1
13
+ - name : Setup Ruby for use with actions
14
+
15
+ with :
16
+ ruby-version : ' 2.6'
17
+ architecture : ' x64'
18
+ - name : Install danger
19
+ run : |
20
+ gem install bundler
21
+ bundle install
22
+ - name : Run danger
23
+ env :
24
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
25
+ run : danger
26
+ unit_test :
27
+ runs-on : ubuntu-latest
28
+ steps :
29
+ - uses : actions/checkout@v1
30
+ - name : Run unit test
31
+ run : ./gradlew studyplus-android-sdk:test
32
+
Original file line number Diff line number Diff line change 1
- # frozen_string_literal: true
2
-
3
1
source "https://rubygems.org"
4
2
5
- git_source ( :github ) { |repo_name | "https://github.com/#{ repo_name } " }
6
-
7
3
gem "danger"
8
- gem 'danger-android_lint'
4
+ gem 'danger-android_lint'
You can’t perform that action at this time.
0 commit comments