Skip to content

Commit

Permalink
fix(build): workflow syntax (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
powerman authored Oct 21, 2020
1 parent 18c28ac commit aec425b
Showing 1 changed file with 18 additions and 17 deletions.
35 changes: 18 additions & 17 deletions .github/workflows/CI&CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,6 @@ jobs:
image: 'nats:2.1.4'
ports:
- 4222:4222
stan:
image: 'nats-streaming:0.17.0'
command:
- '--cluster_id=ci'
- '--max_channels=0'
- '--max_subs=0'
- '--max_msgs=0'
- '--max_bytes=0'
- '--max_age=0s'
- '--max_inactivity=0s'
- '--nats_server=nats://localhost:4222'
- '--hb_interval=1s'
- '--hb_timeout=1s'
- '--hb_fail_count=3'
- '--store=FILE'
- '--dir=/tmp'
- '--file_fds_limit=4000'
env:
DOCKERIZE_VER: '0.12.0'
HADOLINT_VER: '1.18.0'
Expand All @@ -59,6 +42,24 @@ jobs:
MONO__EXAMPLE_MYSQL_AUTH_PASS: ''
NARADA4D_TEST_MYSQL: 'goose-mysql://[email protected]'
steps:
- name: Run STAN service
run: |
docker run -d --net=host nats-streaming:0.17.0 \
--cluster_id=ci \
--max_channels=0 \
--max_subs=0 \
--max_msgs=0 \
--max_bytes=0 \
--max_age=0s \
--max_inactivity=0s \
--nats_server=nats://localhost:4222 \
--hb_interval=1s \
--hb_timeout=1s \
--hb_fail_count=3 \
--store=FILE \
--dir=/tmp \
--file_fds_limit=4000
- uses: actions/setup-go@v2
with:
go-version: ${{ env.GO_VERSION }}
Expand Down

0 comments on commit aec425b

Please sign in to comment.