forked from vacanza/holidays
-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (42 loc) · 1019 Bytes
/
Copy pathci.yml
File metadata and controls
49 lines (42 loc) · 1019 Bytes
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
name: CI
on:
merge_group:
pull_request:
branches:
- dev
- main
- v1
push:
branches:
- dev
- v1
workflow_dispatch:
env:
FORCE_COLOR: 1
concurrency:
# Don't cancel push CI: cancelled runs never conclude success, so pre-release
# workflow_run would miss that commit. Still cancel superseded PR/merge_group runs.
group: ${{ github.repository }}-ci-${{ github.head_ref || github.ref }}
cancel-in-progress: ${{ github.event_name != 'push' }}
permissions: {}
jobs:
run-code-checks:
name: Code checks
permissions:
contents: read
uses: ./.github/workflows/run-code-checks.yml
run-code-ql:
name: CodeQL
permissions:
contents: read
security-events: write
uses: ./.github/workflows/run-code-ql.yml
run-code-tests:
name: Code tests
needs:
- run-code-checks
permissions:
contents: read
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
uses: ./.github/workflows/run-code-tests.yml