mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-10-29 23:32:35 +01:00
Revert to using ruby image
This commit is contained in:
parent
ff2ae41fc5
commit
c36aabeb61
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -5,6 +5,8 @@ on: [push, pull_request]
|
|||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: ruby:2.7.1
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:12
|
image: postgres:12
|
||||||
@ -15,8 +17,6 @@ jobs:
|
|||||||
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
|
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: ruby/setup-ruby@v1
|
|
||||||
- run: sudo apt-get -yqq install libpq-dev
|
|
||||||
- run: gem install bundler
|
- run: gem install bundler
|
||||||
- run: bundle install --jobs 4 --retry 3
|
- run: bundle install --jobs 4 --retry 3
|
||||||
- run: bundle exec rake
|
- run: bundle exec rake
|
||||||
|
Loading…
Reference in New Issue
Block a user