diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7a3be64..85c2f2e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-20.04 services: db: - image: mysql:5.7 + image: mysql:5.7.44 ports: - 3307:3307 env: @@ -16,7 +16,7 @@ jobs: MYSQL_ROOT_PASSWORD: 'password' MYSQL_TCP_PORT: 3307 options: >- - --init-file /.github/GH-mysql-init.sql + --init-file ${{ github.action_path }}/.github/GH-mysql-init.sql --health-cmd "mysqladmin ping" --health-interval 10s --health-timeout 5s