Skip to content

Develop

Develop #156

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: CI
on:
push:
branches: [ "main" , "develop"]
paths-ignore:
- "README.md"
- "CHANGELOG.md"
pull_request:
branches: [ "main" , "develop" ]
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.22
- name: pkg build
working-directory: ./internal/pkg
run: go build -v ./...
- name: identity_service build
working-directory: ./internal/services/identity_service
run: go build -v ./...
- name: product_service build
working-directory: ./internal/services/product_service
run: go build -v ./...
- name: inventory_service build
working-directory: ./internal/services/inventory_service
run: go build -v ./...
- name: product_service test
working-directory: ./internal/services/product_service
run: go test -v ./...
- name: identity_service test
working-directory: ./internal/services/identity_service
run: go test -v ./...
- name: inventory_service test
working-directory: ./internal/services/inventory_service
run: go test -v ./...