1
0
Fork 0
mirror of https://github.com/kdeldycke/awesome-falsehood.git synced 2024-11-20 11:35:56 -05:00
falsehood/.github/workflows/lint.yaml
2020-01-09 22:24:21 +01:00

28 lines
693 B
YAML

name: Lint Awesome List
on: [push, pull_request]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: max/awesome-lint@v2.0.0
validate_links:
name: Validate links
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup ruby gem
run: |
sudo apt update
sudo apt install ruby rubygems-integration
sudo ruby --version
- name: Install awesome_bot
run : |
gem install awesome_bot
- name: Run awesome_bot
run : |
awesome_bot --files ./README.md --allow-ssl --allow-redirect --white-list creativecommons.org