Skip to content

Commit

Permalink
chore: configure mysql for github action
Browse files Browse the repository at this point in the history
  • Loading branch information
SianLoong committed Dec 8, 2019
1 parent 22f7051 commit 48a942f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ jobs:
build:
name: Build
runs-on: ubuntu-latest
services:
mysql:
image: mysql:5.7
env:
MYSQL_ROOT_PASSWORD: abcd1234
MYSQL_DATABASE: sqlike
ports:
- 3306:3306
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s

steps:
# - name: Setup MySQL
# uses: mirromutth/mysql-action@v1.1
Expand Down

0 comments on commit 48a942f

Please # to comment.