Revert to using ruby image

This commit is contained in:
Hakan Ensari 2020-05-02 15:42:09 +01:00
parent ff2ae41fc5
commit c36aabeb61

View File

@ -5,6 +5,8 @@ on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
container:
image: ruby:2.7.1
services:
postgres:
image: postgres:12
@ -15,8 +17,6 @@ jobs:
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
- run: sudo apt-get -yqq install libpq-dev
- run: gem install bundler
- run: bundle install --jobs 4 --retry 3
- run: bundle exec rake