CI: launch redis early

This commit is contained in:
realaravinth
2021-06-11 19:47:49 +05:30
parent 086dd85a83
commit dc53cd76d4
4 changed files with 7 additions and 8 deletions

View File

@@ -45,6 +45,9 @@ jobs:
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: run mcaptcha cache redis instance
run: docker run -d -p 6379:6379 mcaptcha/cache
- uses: actions/setup-node@v2
with:
node-version: '14.x'
@@ -65,9 +68,6 @@ jobs:
profile: minimal
override: true
- name: run mcaptcha cache redis instance
run: docker run -d -p 6379:6379 mcaptcha/cache
- name: Run migrations
uses: actions-rs/cargo@v1
with: