chore(deps): bump actionpack from 7.0.8.1 to 7.1.3.4 #257
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Ruby | |
on: [push,pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.1.2 | |
- name: Run Database | |
run: docker run --name=db --network=host -e POSTGRES_HOST_AUTH_METHOD=trust -d postgres | |
- name: Run tests | |
run: | | |
gem install bundler -v 2.3.11 | |
bundle install | |
rake db:create | |
rake db:schema:load | |
bundle exec rake spec |