File tree 1 file changed +7
-8
lines changed
1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change
1
+ # Source: https://github.com/arduino/tooling-project-assets/blob/master/workflow-templates/check-workflows-task.md
1
2
name : Check Workflows
2
3
3
4
# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
4
5
on :
5
6
push :
6
7
paths :
7
- - " .github/workflows/lint-config.yml"
8
8
- " .github/workflows/*.ya?ml"
9
9
- " Taskfile.ya?ml"
10
10
pull_request :
11
11
paths :
12
- - " .github/workflows/lint-config.yml"
13
12
- " .github/workflows/*.ya?ml"
14
13
- " Taskfile.ya?ml"
15
14
schedule :
16
- # Run every Tuesday at 03:00 UTC to catch breakage caused by changes to the GitHub Actions workflow schema
15
+ # Run every Tuesday at 8 AM UTC to catch breakage resulting from changes to the JSON schema.
17
16
- cron : " 0 8 * * TUE"
18
17
workflow_dispatch :
19
18
repository_dispatch :
20
19
21
20
jobs :
22
- lint :
21
+ validate :
23
22
runs-on : ubuntu-latest
23
+
24
24
steps :
25
- - name : Checkout local repository
25
+ - name : Checkout repository
26
26
uses : actions/checkout@v2
27
27
28
- - name : Install Taskfile
28
+ - name : Install Task
29
29
uses : arduino/setup-task@v1
30
30
with :
31
31
repo-token : ${{ secrets.GITHUB_TOKEN }}
32
32
version : 3.x
33
33
34
- - name : Lint configuration files
34
+ - name : Validate workflows
35
35
run : task --silent ci:validate
36
-
You can’t perform that action at this time.
0 commit comments