Skip to content
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
20 changes: 6 additions & 14 deletions .github/workflows/build-gem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,15 @@ jobs:
BUILD_PLATFORM: ${{ startsWith(inputs.version, 'jruby') && 'jruby' || 'ruby' }}
FLAKY: ${{ startsWith(inputs.version, 'jruby') && 'true' || 'false' }}

services:
redis:
image: redis
ports:
- 6379:6379
dynamodb:
image: amazon/dynamodb-local
ports:
- 8000:8000
consul:
image: hashicorp/consul
ports:
- 8500:8500

steps:
- uses: actions/checkout@v4

- uses: launchdarkly/gh-actions/actions/persistent-stores@persistent-stores-v0
with:
redis: true
consul: true
dynamodb: true

- uses: ./.github/actions/setup
with:
version: ${{ inputs.version }}
Expand Down
2 changes: 1 addition & 1 deletion spec/ldclient_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ module LaunchDarkly
prereq = flags_map[prereq[:key].to_sym]
prereq_index = flags_list.index(prereq)
if prereq_index > item_index
all_keys = (flags_list.map { |f| f[:key] }).join(", ")
all_keys = flags_list.map { |f| f[:key] }.join(", ")
raise "#{item[:key]} depends on #{prereq[:key]}, but #{item[:key]} was listed first; keys in order are [#{all_keys}]"
end
end
Expand Down