forked from ScottPlot/ScottPlot
-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (45 loc) · 1.23 KB
/
ci.yaml
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
46
47
48
49
50
51
52
53
# This workflow tests all code after any change to the main branch
name: CI
on:
workflow_dispatch:
push:
branches:
- main
paths:
- src/**
- .github/workflows/ci.yaml
# cancel running versions of this workflow when this one starts
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
# Run the autoformatter in parallel too.
# If it makes a change it will commit it and restart this workflow.
autoformat:
name: "Autoformat"
uses: ./.github/workflows/task-autoformat-fix.yaml
secrets:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
# This security analysis evaluates non-compiled code
security:
name: "Security"
uses: ./.github/workflows/task-security-scan.yaml
permissions:
security-events: write
full:
name: "Full Build"
uses: ./.github/workflows/task-full.yaml
permissions:
security-events: write
publish-changelog:
name: "Publish"
needs: [full]
uses: ./.github/workflows/task-publish-changelog.yaml
secrets:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
publish-metrics:
name: "Publish"
needs: [full]
uses: ./.github/workflows/task-code-metrics.yaml
secrets:
private-ssh-key: ${{ secrets.PRIVATE_SSH_KEY }}