version: 2.1

orbs:
  ruby: circleci/ruby@1.1.2

jobs:
  test:
    executor:
      name: ruby/default
      tag: 2.4.9
    steps:
      - checkout
      - ruby/install-deps
      - run:
          name: Run linting Rake tasks
          command: |
            bundle exec rubocop
            bundle exec brakeman

workflows:
  version: 2
  default:
    jobs:
      - test

version: 2.1

orbs:
  ruby: circleci/ruby@1.1.2

jobs:
  test:
    executor:
      name: ruby/default
      tag: 2.4.9
    steps:
      - checkout
      - run:
          name: Install PostgreSQL development libraries
          command: |
            sudo apt update
            sudo apt install -y libpq-dev
      - ruby/install-deps
      - run:
          name: Run linting Rake tasks
          command: |
            bundle exec rubocop
            bundle exec brakeman

workflows:
  version: 2
  default:
    jobs:
      - test

Add install PostgreSQL development libraries step
Add install PostgreSQL development libraries step
