-
Notifications
You must be signed in to change notification settings - Fork 11
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
Fix CI Failures #60
Fix CI Failures #60
Conversation
@@ -112,9 +112,11 @@ jobs: | |||
BUNDLE_GEMFILE: ${{ github.workspace }}/.github/gemfiles/rails-${{ matrix.rails }}.Gemfile | |||
|
|||
steps: | |||
- uses: actions/checkout@v2 | |||
- uses: actions/checkout@v4 |
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.
ついで?
gem "rails", "7.0.4.3" | ||
gem 'concurrent-ruby', '1.3.4' |
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.
別のPRでもかまわんけど、対応するrailsバージョンは更新しましょう
scimaenaga/.github/workflows/test.yaml
Lines 60 to 62 in 0c5cacc
## test against last two releases from supported rails versions | |
## when updating, be sure to add the matching version Gemfile to | |
## .github/gemfiles |
不要になる
- 5系
- 6系
追加
※ actionファイルでは「サポートされてる系統(マイナー)の最新2つ」と書いてあるのでそれに合わせましょう
- 7.1
- 7.2
- 8.0
これなら今回の対応は7.0系しか必要ない
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.
確かに。別PRで5,6は消してしまいますね
with: | ||
fetch-depth: 0 | ||
- name: install libsqlite3-dev | ||
run: sudo apt-get install libsqlite3-dev |
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.
🚀
What and Why
1: Can not build sqlite3
→ ubuntu 24.04.1 does not include libsqlite3-dev.
→ add
sudo apt-get install libsqlite3-dev
2: rails db:setup fails
→ concurrent-ruby 1.3.5 has breaking changes. When use it with Rails < 7.1, rails command will fail.
→ use
concurrent-ruby 1.3.4