Skip to content

Merge pull request #264 from pivotal/dependabot/bundler/spec/rubocop-… #777

Merge pull request #264 from pivotal/dependabot/bundler/spec/rubocop-…

Merge pull request #264 from pivotal/dependabot/bundler/spec/rubocop-… #777

Workflow file for this run

name: CredHub Release Lint
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['3.2']
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Run lint
run: |
cd spec
bundle
bundle exec rubocop --config ../.rubocop.yml