-
Notifications
You must be signed in to change notification settings - Fork 3
40 lines (34 loc) · 1.02 KB
/
main.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
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Check docs
on:
schedule:
- cron: '0 0 1,15 * *' # run on 1st and 15th every month
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup pytho
uses: actions/setup-python@v2
with:
python-version: '3.7'
- name: Download artifact
uses: valcikeric/download-base-artifact@master
with:
artifact: cached-docs
path: cached-docs
allow-fail: true
continue-on-error: true
- name: Install dependencies
run: |
pip install requests
- name: Run docs checker
run: |
python3 utils/docs-checker/libscheck.py
- name: Save cached docs
uses: actions/upload-artifact@v2
with:
name: cached-docs
path: cached-docs/
if: always()