-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (40 loc) · 988 Bytes
/
gha_verify.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
45
---
name: Verify
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
danger:
runs-on: ubuntu-latest
name: "🚫 Run Danger"
steps:
- uses: actions/checkout@v2
- run: npm install -g danger
- run: swift run danger-swift ci -c release --id "Lint"
env:
DANGER_GITHUB_API_TOKEN: ${{ secrets.DANGER_SWIFT_GITHUB_TOKEN }}
linux:
runs-on: ubuntu-latest
name: 🐧 Linux Test & Verify
steps:
- uses: actions/checkout@v2
- name: Test
uses: ./.github/actions/test-verify-action
with:
include-coverage: false
macos:
runs-on: macos-11
name: MacOS Test & Verify
steps:
- uses: actions/checkout@v2
- name: Test & Coverage
uses: ./.github/actions/test-verify-action
with:
include-coverage: true
danger-token: ${{ secrets.DANGER_SWIFT_GITHUB_TOKEN }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}