|
@@ -2,18 +2,18 @@ name: "Validate links" |
|
|
|
|
|
|
|
|
on: |
|
|
on: |
|
|
schedule: |
|
|
schedule: |
|
|
- cron: '0 0 * * *' |
|
|
|
|
|
|
|
|
- cron: '0 6 * * *' |
|
|
|
|
|
|
|
|
env: |
|
|
env: |
|
|
FORMAT_FILE: README.md |
|
|
FORMAT_FILE: README.md |
|
|
|
|
|
|
|
|
jobs: |
|
|
jobs: |
|
|
test: |
|
|
test: |
|
|
name: 'Validate README.md' |
|
|
|
|
|
|
|
|
name: 'Validate links' |
|
|
runs-on: ubuntu-latest |
|
|
runs-on: ubuntu-latest |
|
|
steps: |
|
|
steps: |
|
|
- name: Checkout repository |
|
|
- name: Checkout repository |
|
|
uses: actions/checkout@v2 |
|
|
uses: actions/checkout@v2 |
|
|
|
|
|
|
|
|
- name: Validate all links from README.md |
|
|
- name: Validate all links from README.md |
|
|
run: build/validate_links.sh ${FORMAT_FILE} |
|
|
|
|
|
|
|
|
run: build/validate_links.py ${FORMAT_FILE} |