-
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (31 loc) · 1001 Bytes
/
ci.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
name: "CI"
on:
push:
concurrency:
# See https://github.com/TWiStErRob/github-workflows/blob/main/snippets/cancel-pr-ci-on-push.yml
group: ${{ github.ref == 'refs/heads/main' && format('ci-main-{0}', github.sha) || format('ci-{0}', github.ref) }}
cancel-in-progress: true
jobs:
validate:
name: "🦺 Validation"
uses: TWiStErRob/github-workflows/.github/workflows/validate.yml@1e06403c5d561d70e40109c2701ea3092ca6ded7 # v3
permissions:
contents: read
security-events: write
actions: read
build:
name: "🔨 Build & Verify"
needs: validate
uses: ./.github/workflows/ci-build.yml
permissions:
contents: read
checks: write
security-events: write
instrumentation:
name: "🧪 Instrumentation Tests on" # / API ${{ matrix.api }} will be appended by used workflow.
needs: validate
uses: ./.github/workflows/ci-instrumentation.yml
permissions:
contents: read
checks: write
statuses: write