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

Ensure correct Bundler is used for bundling in 2.7 #436

Merged
merged 2 commits into from
Dec 29, 2023
Merged
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
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
with:
ruby-version: ${{matrix.ruby}}
bundler-cache: true
bundler: 'latest'

- name: Run Kafka with docker-compose
run: |
Expand All @@ -61,7 +62,12 @@ jobs:
- name: Bundle install
run: |
bundle config set without development
bundle install --jobs 4 --retry 3

if [[ "$(ruby -v | awk '{print $2}')" == 2.7.8* ]]; then
BUNDLER_VERSION=2.4.22 bundle install --jobs 4 --retry 3
else
bundle install --jobs 4 --retry 3
fi

- name: Run all tests
env:
Expand Down
5 changes: 3 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ GEM
karafka-core (2.2.7)
concurrent-ruby (>= 1.1)
karafka-rdkafka (>= 0.13.9, < 0.15.0)
karafka-rdkafka (0.14.5)
karafka-rdkafka (0.14.6)
ffi (~> 1.15)
mini_portile2 (~> 2.6)
rake (> 12)
Expand Down Expand Up @@ -68,6 +68,7 @@ GEM
zeitwerk (2.6.12)

PLATFORMS
ruby
x86_64-linux

DEPENDENCIES
Expand All @@ -78,4 +79,4 @@ DEPENDENCIES
waterdrop!

BUNDLED WITH
2.4.22
2.5.3