al-quran.reflectslight.io/.github/workflows/ruby-linter.yml

23 lines
421 B
YAML

name: Ruby
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
linter:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
ruby: [3.1]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- run: bundle install
- run: ruby -S rake linter:ruby