zip #2370
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Link checking | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'readme-sync/v0/**.md' | |
jobs: | |
check-links: | |
runs-on: ubuntu-latest | |
steps: | |
# get the changelogs and save locally so you can check those links | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v2 | |
- name: Set up Ruby 💎 | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '2.7' | |
bundler-cache: true | |
- name: Install dependencies 🔧 | |
run: cd ./scripts/check_links/ && bundle install | |
- name: Build HTML frm markdown and check links 🏗 | |
run: ruby ./scripts/check_links/check_links.rb | |
env: | |
README_API_KEY: ${{ secrets.README_API_KEY}} |