From 6fdb258e6d7701fce39769a12c48aa9bad9214b9 Mon Sep 17 00:00:00 2001 From: Hakan Ensari Date: Mon, 7 Mar 2022 10:57:31 +0000 Subject: [PATCH] Update Ruby to latest --- .github/workflows/build.yml | 28 ++++++++++++++-------------- .ruby-version | 2 +- Dockerfile | 2 +- Gemfile.lock | 4 ++-- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1bbeb9f..4d6664e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/.ruby-version b/.ruby-version index cb2b00e..94ff29c 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -3.0.1 +3.1.1 diff --git a/Dockerfile b/Dockerfile index c80622c..d726b9b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ruby:3.0.1 +FROM ruby:3.1.1 RUN mkdir /app WORKDIR /app diff --git a/Gemfile.lock b/Gemfile.lock index 3ec79b1..73639c5 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -128,7 +128,7 @@ DEPENDENCIES webmock RUBY VERSION - ruby 3.0.1p64 + ruby 3.1.1p18 BUNDLED WITH - 2.2.15 + 2.3.7