-
Notifications
You must be signed in to change notification settings - Fork 3
52 lines (45 loc) · 1.03 KB
/
ci.yaml
File metadata and controls
52 lines (45 loc) · 1.03 KB
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
name: CI
on:
pull_request:
push:
branches:
- main
schedule:
# Run every Monday at 00:30 UTC
- cron: "30 0 * * 1"
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ci
cancel-in-progress: false
jobs:
mise-cache:
uses: ./.github/workflows/mise-prepare-cache.yaml
check-feature-configs:
uses: ./.github/workflows/check-feature-configs.yaml
check-prettier:
needs: mise-cache
uses: ./.github/workflows/mise-task.yaml
with:
task: check:prettier
check-shellcheck:
needs: mise-cache
uses: ./.github/workflows/mise-task.yaml
with:
task: check:shellcheck
test-features:
needs: mise-cache
uses: ./.github/workflows/test-features.yaml
check:
if: always()
needs:
- check-feature-configs
- check-prettier
- check-shellcheck
- test-features
runs-on: ubuntu-latest
steps:
- uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # v1.2.2
with:
jobs: ${{ toJSON(needs) }}