Update Ruby to latest

This commit is contained in:
Hakan Ensari 2022-03-07 10:57:31 +00:00
parent dfcb4affce
commit 6fdb258e6d
4 changed files with 18 additions and 18 deletions

View File

@ -6,7 +6,7 @@ jobs:
test:
runs-on: ubuntu-latest
container:
image: ruby:3.0.1
image: ruby:3.1.1
services:
postgres:
image: postgres:12
@ -16,22 +16,22 @@ jobs:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
steps:
- uses: actions/checkout@v2
- run: gem install bundler
- run: bundle install --jobs 4 --retry 3
- run: bundle exec rake
env:
DATABASE_URL: postgres://postgres@postgres/postgres
- uses: actions/checkout@v2
- run: gem install bundler
- run: bundle install --jobs 4 --retry 3
- run: bundle exec rake
env:
DATABASE_URL: postgres://postgres@postgres/postgres
publish:
needs: test
if: github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: elgohr/Publish-Docker-Github-Action@2.14
with:
name: hakanensari/frankfurter
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
tag_names: true
- uses: actions/checkout@v2
- uses: elgohr/Publish-Docker-Github-Action@2.14
with:
name: hakanensari/frankfurter
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
tag_names: true

View File

@ -1 +1 @@
3.0.1
3.1.1

View File

@ -1,4 +1,4 @@
FROM ruby:3.0.1
FROM ruby:3.1.1
RUN mkdir /app
WORKDIR /app

View File

@ -128,7 +128,7 @@ DEPENDENCIES
webmock
RUBY VERSION
ruby 3.0.1p64
ruby 3.1.1p18
BUNDLED WITH
2.2.15
2.3.7