Skip to content

Commit 6211990

Browse files
authored
chore: Use gh-actions/actions/persistent-stores (#319)
The latest consul image incorrectly handles a '$' in the key name. This is causing failing tests since we use an '$inited' key. Until the consul change is remedied, we need to pin to a working version of consul. This is already done in our shared GH action for persistent stores, so I am updating this SDK to finally use that.
1 parent 0ff4ce7 commit 6211990

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

.github/workflows/common_ci.yml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -33,21 +33,13 @@ jobs:
3333
env:
3434
TEST_SERVICE_PORT: 10000
3535

36-
services:
37-
redis:
38-
image: redis
39-
ports:
40-
- 6379:6379
41-
dynamodb:
42-
image: amazon/dynamodb-local
43-
ports:
44-
- 8000:8000
45-
consul:
46-
image: hashicorp/consul
47-
ports:
48-
- 8500:8500
4936
steps:
5037
- uses: actions/checkout@v4
38+
- uses: launchdarkly/gh-actions/actions/persistent-stores@persistent-stores-v0
39+
with:
40+
redis: 'true'
41+
consul: 'true'
42+
dynamodb: 'true'
5143
- name: Setup Go ${{ inputs.go-version }}
5244
uses: actions/setup-go@v5
5345
with:

0 commit comments

Comments
 (0)