Sha256: 6dba0466e886306789e10810b30eeecb1674099a26d3d8b77d797abc337ec92f
Contents?: true
Size: 711 Bytes
Versions: 12
Compression:
Stored size: 711 Bytes
Contents
name: Linting on: pull_request: paths: - "**/*.rb" env: RAILS_ENV: test jobs: rubocop: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: yettoapp/actions/pr-contains-files@main id: pr_contains_ruby with: pr_number: ${{ github.event.number }} pattern: ".rb$" github_token: ${{ secrets.GITHUB_TOKEN }} - name: Set up Ruby if: ${{ steps.pr_contains_ruby.outputs.exists == 'true' }} uses: yettoapp/actions/setup-languages@main with: ruby: true - name: Rubocop if: ${{ steps.pr_contains_ruby.outputs.exists == 'true' }} run: bundle exec rake rubocop
Version data entries
12 entries across 12 versions & 1 rubygems