Skip to content

Commit 30abb94

Browse files
committed
Update and rename blank.yml to pr_check.yml
1 parent ef311f9 commit 30abb94

File tree

2 files changed

+33
-5
lines changed

2 files changed

+33
-5
lines changed

.github/workflows/pr_check.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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+
uses: actions/[email protected]
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+

Gemfile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
# frozen_string_literal: true
2-
31
source "https://rubygems.org"
42

5-
git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
6-
73
gem "danger"
8-
gem 'danger-android_lint'
4+
gem 'danger-android_lint'

0 commit comments

Comments
 (0)