Commit 5ecefb03 by mingyuan

reset order

parent 5dc5fa1f
...@@ -3,11 +3,22 @@ on: [push] ...@@ -3,11 +3,22 @@ on: [push]
jobs: jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
services:
postgres:
image: postgres:13
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps: steps:
- name: Set up System - name: Fetch Project
run: | uses: actions/checkout@v1
sudo systemctl start postgresql with:
sudo systemctl status postgresql submodules: recursive
- name: Set up Ruby - name: Set up Ruby
uses: actions/setup-ruby@v1 uses: actions/setup-ruby@v1
with: with:
...@@ -16,10 +27,6 @@ jobs: ...@@ -16,10 +27,6 @@ jobs:
uses: actions/setup-node@v1 uses: actions/setup-node@v1
with: with:
node-version: 10.x node-version: 10.x
- name: Fetch Project
uses: actions/checkout@v1
with:
submodules: recursive
- name: Cache Bundle - name: Cache Bundle
uses: actions/cache@v1 uses: actions/cache@v1
with: with:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment