-
-
Notifications
You must be signed in to change notification settings - Fork 26
39 lines (31 loc) · 896 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
# 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_15.1.app/Contents/Developer
jobs:
main:
name: Review, Lint, Verify
runs-on: macos-13
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:
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