-
-
Notifications
You must be signed in to change notification settings - Fork 4
40 lines (32 loc) · 926 Bytes
/
danger.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# GitHub Actions Virtual Environments
# https://github.com/actions/virtual-environments/
name: Danger
on:
pull_request:
types: [synchronize, opened, reopened, labeled, unlabeled, edited]
env:
DEVELOPER_DIR: /Applications/Xcode_13.2.1.app/Contents/Developer
jobs:
main:
name: Review, Lint, Verify
runs-on: macOS-11
steps:
- name: git checkout
uses: actions/checkout@v4
- name: ruby versions
run: |
ruby --version
gem --version
bundler --version
# https://github.com/ruby/setup-ruby
- name: ruby setup
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: true
- name: jazzy docs
run: bundle exec jazzy --output docs/
- name: danger
env:
DANGER_GITHUB_API_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN }}
run: bundle exec danger --verbose