-
-
Notifications
You must be signed in to change notification settings - Fork 11
Update Ruby 3.2.2 -> 4.0.3 #142
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
Open
IsaacG
wants to merge
1
commit into
exercism:main
Choose a base branch
from
IsaacG:bump
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| ruby-3.3.0 | ||
| ruby-4.0.3 | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,23 +1,22 @@ | ||
| FROM ruby:3.2.2-alpine3.18 AS build | ||
| FROM ruby:4.0.4-alpine3.23@sha256:ac9c68cd41d6a49a9138fca74aa344968e8ddb5e20d8a3b1f455b97c7148f8da AS build | ||
|
|
||
| RUN apk update && apk upgrade && \ | ||
| apk add --no-cache bash git openssh && \ | ||
| apk add build-base gcc wget git | ||
| apk add --no-cache git openssh build-base gcc wget git | ||
|
|
||
| COPY Gemfile Gemfile.lock . | ||
| COPY Gemfile Gemfile.lock ./ | ||
|
|
||
| RUN gem install bundler:2.4.18 && \ | ||
| RUN gem install bundler:4.0.11 && \ | ||
| bundle config set without 'development test' && \ | ||
| bundle install | ||
|
|
||
| FROM ruby:3.2.2-alpine3.18 AS runtime | ||
| FROM ruby:4.0.4-alpine3.23@sha256:ac9c68cd41d6a49a9138fca74aa344968e8ddb5e20d8a3b1f455b97c7148f8da AS runtime | ||
|
|
||
| RUN apk add --no-cache bash | ||
|
|
||
| WORKDIR /opt/analyzer | ||
|
|
||
| COPY --from=build /usr/local/bundle /usr/local/bundle | ||
|
|
||
| WORKDIR /opt/analyzer | ||
|
|
||
| COPY . . | ||
|
|
||
| ENTRYPOINT ["sh", "/opt/analyzer/bin/run.sh"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,23 +1,22 @@ | ||
| source 'https://rubygems.org' | ||
|
|
||
| git_source(:github) do |repo_name| | ||
| repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/") | ||
| repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?('/') | ||
| "https://github.com/#{repo_name}.git" | ||
| end | ||
|
|
||
| gem 'activesupport' | ||
| gem 'json' | ||
| gem 'mandate' | ||
| gem 'minitest' | ||
| gem 'minitest-stub-const' | ||
| gem 'mocha' | ||
| gem 'mutex_m' | ||
| gem 'pry' | ||
| gem 'rake' | ||
| gem 'json' | ||
| gem 'activesupport' | ||
|
|
||
| gem 'parser' | ||
| gem 'rubocop' | ||
| gem 'rubocop-ast' | ||
| gem 'rubocop-minitest' | ||
| gem 'rubocop-performance' | ||
|
|
||
| group :test do | ||
| gem 'minitest' | ||
| gem 'minitest-stub-const' | ||
| gem 'mocha' | ||
| gem 'simplecov', '~> 0.17.0' | ||
| end | ||
| gem 'sexp_processor' | ||
| gem 'simplecov', '~> 0.17.0' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not 4.0.4 as stated in the PR title? And as reflected in the Alpine image?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The GitHub action runner images do not support 4.0.4. The latest supported version is 4.0.3 if we want to run Ruby on GHA images for the checks.