Skip to content

Commit d88aee8

Browse files
committed
chore: update security workflow run
1 parent a7c47ba commit d88aee8

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/security-scan.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -289,16 +289,16 @@ jobs:
289289
- name: Setup Database
290290
env:
291291
RAILS_ENV: test
292-
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/prostaff_test
293-
REDIS_URL: redis://localhost:6379/0
292+
DATABASE_URL: postgresql://postgres:postgres@127.0.0.1:5432/prostaff_test
293+
REDIS_URL: redis://127.0.0.1:6379/0
294294
run: |
295295
bundle exec rails db:create db:migrate RAILS_ENV=test
296296
297297
- name: Start Rails Server
298298
env:
299299
RAILS_ENV: test
300-
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/prostaff_test
301-
REDIS_URL: redis://localhost:6379/0
300+
DATABASE_URL: postgresql://postgres:postgres@127.0.0.1:5432/prostaff_test
301+
REDIS_URL: redis://127.0.0.1:6379/0
302302
JWT_SECRET_KEY: test_jwt_secret_key_for_ci
303303
RIOT_API_KEY: ${{ secrets.RIOT_API_KEY || 'dummy_key' }}
304304
run: |
@@ -359,16 +359,16 @@ jobs:
359359
- name: Setup Database
360360
env:
361361
RAILS_ENV: test
362-
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/prostaff_test
363-
REDIS_URL: redis://localhost:6379/0
362+
DATABASE_URL: postgresql://postgres:postgres@127.0.0.1:5432/prostaff_test
363+
REDIS_URL: redis://127.0.0.1:6379/0
364364
run: |
365365
bundle exec rails db:create db:migrate RAILS_ENV=test
366366
367367
- name: Start Rails Server
368368
env:
369369
RAILS_ENV: test
370-
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/prostaff_test
371-
REDIS_URL: redis://localhost:6379/0
370+
DATABASE_URL: postgresql://postgres:postgres@127.0.0.1:5432/prostaff_test
371+
REDIS_URL: redis://127.0.0.1:6379/0
372372
JWT_SECRET_KEY: test_jwt_secret_key_for_ci
373373
RIOT_API_KEY: ${{ secrets.RIOT_API_KEY || 'dummy_key' }}
374374
run: |
@@ -422,16 +422,16 @@ jobs:
422422
- name: Setup Database
423423
env:
424424
RAILS_ENV: test
425-
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/prostaff_test
426-
REDIS_URL: redis://localhost:6379/0
425+
DATABASE_URL: postgresql://postgres:postgres@127.0.0.1:5432/prostaff_test
426+
REDIS_URL: redis://127.0.0.1:6379/0
427427
run: |
428428
bundle exec rails db:create db:migrate RAILS_ENV=test
429429
430430
- name: Start Rails Server
431431
env:
432432
RAILS_ENV: test
433-
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/prostaff_test
434-
REDIS_URL: redis://localhost:6379/0
433+
DATABASE_URL: postgresql://postgres:postgres@127.0.0.1:5432/prostaff_test
434+
REDIS_URL: redis://127.0.0.1:6379/0
435435
JWT_SECRET_KEY: test_jwt_secret_key_for_ci
436436
RIOT_API_KEY: ${{ secrets.RIOT_API_KEY || 'dummy_key' }}
437437
run: |

0 commit comments

Comments
 (0)