product find and product item find endpoints added on user side #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: micro-service | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
test: | |
name: Test Application | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup action | |
uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.20.4' | |
- name: api-gateway | |
run: | | |
cd api-gateway | |
go mod tidy | |
go mod verify | |
- name: test api-gateway | |
run: | | |
cd api-gateway | |
go test -v -cover ./... | |