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: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
image: ruby:3.0.1 image: ruby:3.1.1
services: services:
postgres: postgres:
image: postgres:12 image: postgres:12
@ -16,22 +16,22 @@ jobs:
- 5432:5432 - 5432:5432
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
- 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
env: env:
DATABASE_URL: postgres://postgres@postgres/postgres DATABASE_URL: postgres://postgres@postgres/postgres
publish: publish:
needs: test needs: test
if: github.event_name == 'push' if: github.event_name == 'push'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: elgohr/Publish-Docker-Github-Action@2.14 - uses: elgohr/Publish-Docker-Github-Action@2.14
with: with:
name: hakanensari/frankfurter name: hakanensari/frankfurter
username: ${{ secrets.DOCKER_USERNAME }} username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }} password: ${{ secrets.DOCKER_PASSWORD }}
tag_names: true 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 RUN mkdir /app
WORKDIR /app WORKDIR /app

View File

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