Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency ruby to v3.3.6 #161

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion .github/workflows/rails-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,18 @@ jobs:
run: |
rails_versions=$(curl https://rubygems.org/api/v1/versions/rails.json | jq '[.[] | select(.number | test("beta") | not)] | group_by(.number[:1])[] | (.[0].number) | select(.[:1]|tonumber > 5)' | jq -s -c)
echo "RAILS_VERSIONS=$rails_versions" >> $GITHUB_OUTPUT
set-ruby-version:
runs-on: ubuntu-latest
name: Set Ruby version
outputs:
RUBY_VERSION: ${{ steps.set-ruby-version.outputs.RUBY_VERSION }}
steps:
- name: Checkout
uses: actions/checkout@v4
- id: set-ruby-version
name: Set Ruby version
run: |
echo "RUBY_VERSION=$(cat .ruby-version)" >> $GITHUB_OUTPUT
build-rails:
strategy:
fail-fast: false
Expand All @@ -28,7 +40,9 @@ jobs:
rails: ${{ fromJSON(needs.set-matrix.outputs.RAILS_VERSIONS) }}
runs-on: ubuntu-latest
name: Build and cache Docker containers
needs: set-matrix
needs:
- set-matrix
- set-ruby-version
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -42,6 +56,7 @@ jobs:
build-args: |
RAILS_VERSION=${{ matrix.rails }}
MAIL_NOTIFY_BRANCH=${{ github.ref }}
RUBY_VERSION=${{ needs.set-ruby-version.outputs.RUBY_VERSION }}
push: false
tags: mail-notify-integration-rails-${{ matrix.rails }}:latest
outputs: type=docker, dest=/tmp/rails-${{ matrix.rails }}-image.tar
Expand All @@ -61,6 +76,7 @@ jobs:
runs-on: ubuntu-latest
needs:
- set-matrix
- set-ruby-version
- build-rails
steps:
- name: Download image
Expand All @@ -85,6 +101,7 @@ jobs:
runs-on: ubuntu-latest
needs:
- set-matrix
- set-ruby-version
- build-rails
steps:
- name: Download image
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.1.6
3.3.6
2 changes: 1 addition & 1 deletion spec/dummy/.ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.2.2
3.3.6
Loading