2
0
Fork 0
mirror of https://github.com/egeerardyn/awesome-LaTeX.git synced 2025-04-19 11:38:05 +02:00

Add awesome-{bot,lint} CI integration

Closes #45
This commit is contained in:
Egon Geerardyn 2022-03-13 13:09:31 +01:00
parent 8c5613169b
commit d6bf1deb3e
2 changed files with 39 additions and 0 deletions

25
.github/workflows/awesome-bot.yml vendored Normal file
View file

@ -0,0 +1,25 @@
name: awesome-bot
on:
push:
branches: [ '*' ]
pull_request:
branches: [ '*' ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby 2.6
uses: actions/setup-ruby@v1
with:
ruby-version: 2.6.x
- name: Checks
run: |
ruby .github/osia_convert.rb
gem install awesome_bot
ruby .github/osia_get_links.rb
awesome_bot check-unique.txt --allow-ssl -a 302,429 -w xbmc/xbmc

14
.github/workflows/awesome-lint.yml vendored Normal file
View file

@ -0,0 +1,14 @@
name: awesome-lint
on:
pull_request:
branches: [master]
pull:
branches: [master]
jobs:
Awesome_Lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- run: npx awesome-lint