Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 19 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,26 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.0"
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Install gem
run: gem install awesome_bot
- name: Check links
run: |
awesome_bot README.md --allow-dupe -w robotframework.org,linkedin.com,theseus.fi
# Using lychee (not awesome_bot) because it can authenticate GitHub
# link checks with GITHUB_TOKEN via the GitHub API, instead of
# scraping github.com HTML pages. The latter got its connections
# reset/rate-limited from GitHub Actions IPs regardless of request
# pacing, which awesome_bot has no way to authenticate around.
uses: lycheeverse/lychee-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: >-
--no-progress
--accept "200..=204,429,503"
--max-retries 3
--retry-wait-time 5
--exclude robotframework.org
--exclude linkedin.com
--exclude theseus.fi
README.md
fail: true
- name: Check awesome-list conventions
# Informational only: the list intentionally keeps some conventions
# awesome-lint disagrees with (back-to-top links, repeated domain
Expand Down
Loading