Skip to content

Commit

Permalink
move services definition to job level
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanc-flare committed Jul 12, 2024
1 parent a7ddff1 commit 0fb6d95
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ on:
jobs:
BuildAndTestLibrary:
runs-on: ubuntu-20.04
services:
mysql:
image: mysql
ports: 3306:3306
env:
MYSQL_ROOT_PASSWORD: "root"
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -32,9 +38,3 @@ jobs:

- name: Test
run: go test -v ./indexer
services:
mysql:
image: mysql
ports: 3306:3306
environment:
MYSQL_ROOT_PASSWORD: "root"

0 comments on commit 0fb6d95

Please sign in to comment.