forked from armadaproject/armada
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (41 loc) · 933 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
40
41
42
43
44
45
name: CI
on:
push:
tags:
- v*
branches-ignore:
- gh-pages
pull_request:
branches-ignore:
- gh-pages
schedule:
# Run daily at 01:34, so we get notified if CI is broken before a pull request
# is submitted.
- cron: "34 1 * * *"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
pull-requests: read
checks: write
actions: read
security-events: write
jobs:
lint:
uses: ./.github/workflows/lint.yml
codeql:
uses: ./.github/workflows/codeql-analysis.yml
test:
uses: ./.github/workflows/test.yml
# Virtual job that can be configured as a required check before a PR can be merged.
all-required-checks-done:
name: All required checks done
needs:
- lint
- codeql
- test
runs-on: ubuntu-22.04
steps:
- run: |
echo "All required checks done"