-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (37 loc) · 897 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
41
42
43
44
name: Danger
on:
pull_request:
branches: [ main, develop ]
permissions:
actions: write
checks: write
contents: write
deployments: write
issues: write
packages: write
pull-requests: write
repository-projects: write
security-events: write
statuses: write
jobs:
Danger:
runs-on: macos-13
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '15.2'
# - name: Test Stage
# run: |
# bundle install
# bundle exec fastlane test
- name: Danger Stage
run: |
brew install danger/tap/danger-js
swift build
swift run danger-swift ci --verbose
echo "Danger Lint stage complete."
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}