Skip to content

Commit

Permalink
fix(ci): run as container instead of service (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
darkweak authored Jul 16, 2024
1 parent c06066c commit 48df68a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,12 @@ env:
jobs:
static-validation:
services:
# nats:
# image: nats
# volumes:
# - ${{ github.workspace }}/.github/workflows/nats.conf:/etc/nats/nats-server.conf
# ports:
# - 4222:4222
# - 6222:6222
# - 8222:8222
nats:
image: darkweak/nats
ports:
- 4222:4222
- 6222:6222
- 8222:8222
redis:
image: redis
ports:
Expand All @@ -44,7 +42,7 @@ jobs:
- core
- etcd
- go-redis
# - nats
- nats
- nuts
- otter
- redis
Expand Down
3 changes: 1 addition & 2 deletions compose.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ services:
command: redis-server

nats:
image: nats:alpine
command: -js
image: darkweak/nats
ports:
- 4222:4222
- 6222:6222
Expand Down

0 comments on commit 48df68a

Please sign in to comment.