citation-file-format/ruby-cff

View on GitHub
.github/workflows/lint.yml

Summary

Maintainability
Test Coverage
name: Linter

on: [push, pull_request]

jobs:
  lint:
    runs-on: ubuntu-latest
    steps:
    - name: Checkout rubyzip code
      uses: actions/checkout@v3

    - name: Install and set up ruby
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: 2.6
        bundler-cache: true

    - name: Rubocop
      run: bundle exec rubocop