From d32cad67bf86fe059bbb8ebb094b10ee410a5d1e Mon Sep 17 00:00:00 2001 From: Michael Kim Date: Mon, 6 Nov 2023 17:04:22 +0900 Subject: [PATCH] [Relay] Update CI --- .github/workflows/main.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c4245ce2..a69eb12e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,6 +7,17 @@ jobs: runs-on: ${{ matrix.operating-system }} + services: + postgres: + image: postgres:12.0 + env: + POSTGRES_USER: root + POSTGRES_PASSWORD: 12345678 + POSTGRES_DB: relay + ports: + - 5432:5432 + options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 + strategy: fail-fast: false matrix: @@ -21,17 +32,6 @@ jobs: cache: 'yarn' node-version: ${{ matrix.node-version }} - - name: Setup MySQL 8.0 - uses: ankane/setup-mysql@v1 - with: - mysql-version: 8.0 - database: relay - - - name: Config MySQL - run: | - mysqladmin -u root password '12345678' - exit; - - name: Install dependencies run: yarn install --pure-lockfile - name: Check formatting of Contract