forked from dzimmer/PlanarMechanics
-
Notifications
You must be signed in to change notification settings - Fork 1
56 lines (54 loc) · 1.63 KB
/
checkCron.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
46
47
48
49
50
51
52
53
54
55
56
name: Cron
on:
workflow_dispatch:
schedule:
- cron: "7 3 21 * *"
jobs:
html_documentation_link_checks:
timeout-minutes: 5
if: github.repository_owner == 'dzimmer'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 5
- name: Setup python environment
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install python packages
run: pip install --user futures
- name: Check links
timeout-minutes: 3
run: python ./.CI/check_html.py checkLinks ./
spelling_checks:
timeout-minutes: 5
if: github.repository_owner == 'dzimmer'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 5
- name: Setup python environment
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install python packages
run: pip install --user codespell
- name: Check for spelling errors
run: |
printf "[codespell]\nenable-colors=\n" >> .codespellrc
codespell -L nin ./PlanarMechanics/Utilities/Blocks/SquaretimesSign.mo
codespell --skip ./.CI,./.github,./.git,*.png -L nin
clean_workflow_runs:
timeout-minutes: 5
if: github.repository_owner == 'dzimmer'
runs-on: ubuntu-latest
steps:
- name: Delete workflow runs
uses: dmvict/clean-workflow-runs@v1
with:
run_conclusions: skipped,success
save_period: 60
save_min_runs_number: 6
dry: false