Skip to content

Bump rexml from 3.2.5 to 3.3.6 #410

Bump rexml from 3.2.5 to 3.3.6

Bump rexml from 3.2.5 to 3.3.6 #410

Workflow file for this run

# This workflow uses actions that are not certified by GitHub. They are
# provided by a third-party and are governed by separate terms of service,
# privacy policy, and support documentation.
#
# This workflow will install a prebuilt Ruby version, install dependencies, and
# run tests and linters.
name: "Main Workflow"
on:
push:
branches: [ master, production ]
pull_request:
branches: [ master, production ]
jobs:
rspec:
runs-on: ubuntu-latest
services:
postgres:
image: postgres
ports:
- 5432:5432
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: db_test
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
env:
RAILS_ENV: test
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Ruby 3.1.3
uses: ruby/[email protected]
with:
ruby-version: 3.1.3
bundler-cache: true
- name: Run tests
env:
RAILS_ENV: test
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
DATABASE_URL: "postgres://postgres@localhost:5432/db_test"
run: |
bundle exec rake db:schema:load
bundle exec rspec --format documentation --require rails_helper
rubocop:
name: rubocop
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Curl rubocop.yml
run: curl https://raw.githubusercontent.com/leticiaoliveira5/code-style/master/.rubocop.3.1.3.yml -o .rubocop.yml
- name: Set up Ruby 3.1.3
uses: ruby/[email protected]
with:
ruby-version: 3.1.3
bundler-cache: true
- name: run rubocop
uses: reviewdog/[email protected]
with:
rubocop_version: gemfile
rubocop_extensions: rubocop-rails:gemfile rubocop-rspec:gemfile
reporter: github-pr-check