Sha256: 510868c0ff03d1750815430c5a222f7a66450980348dc4318617b98d16a22e59
Contents?: true
Size: 711 Bytes
Versions: 3
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@v3 - 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
hephaestus-0.3.1 | templates/.github/workflows/lint.yml |
hephaestus-0.2.3 | templates/.github/workflows/lint.yml |
hephaestus-0.2.2 | templates/.github/workflows/lint.yml |