mirror of
https://github.com/awesome-selfhosted/awesome-selfhosted
synced 2024-11-27 05:30:25 +00:00
Merge branch 'master' of https://github.com/forks-by-kieran/awesome-selfhosted
This commit is contained in:
commit
1a72c01403
1 changed files with 46 additions and 0 deletions
46
.github/workflows/main.yml
vendored
Normal file
46
.github/workflows/main.yml
vendored
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
name: Awesome Lint
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
awesome-lint:
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
files:
|
||||||
|
- "readme.md"
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: "checkout repo"
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
- name: asdf_install
|
||||||
|
uses: asdf-vm/actions/install@v1
|
||||||
|
- name: "linting: ${{ matrix.files }}"
|
||||||
|
run: npx -y awesome-lint ${{ matrix.files }}
|
||||||
|
awesome-bot:
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
files:
|
||||||
|
- "readme.md"
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: "checkout repo"
|
||||||
|
uses: actions/checkout@v2.0.0
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
- name: "setup ruby"
|
||||||
|
uses: ruby/setup-ruby@v1
|
||||||
|
with:
|
||||||
|
ruby-version: 3.0.1
|
||||||
|
bundler-cache: true
|
||||||
|
- name: "install awesome-bot"
|
||||||
|
run: gem install awesome_bot
|
||||||
|
- name: "linting: ${{ matrix.files }}"
|
||||||
|
run: awesome_bot --allow-redirect ${{ matrix.files }}
|
||||||
|
|
Loading…
Reference in a new issue