diff --git a/.github/workflows/cfn-guard.yml b/.github/workflows/cfn-guard.yml index 87955f3..ed3d1cc 100644 --- a/.github/workflows/cfn-guard.yml +++ b/.github/workflows/cfn-guard.yml @@ -4,6 +4,7 @@ on: push: paths: - 'cloudformation/**' + - 'cloudformation/**/**' jobs: cfn-guard: diff --git a/.github/workflows/cloudformation.yml b/.github/workflows/cloudformation.yml index 85634fa..eb904d4 100644 --- a/.github/workflows/cloudformation.yml +++ b/.github/workflows/cloudformation.yml @@ -4,6 +4,7 @@ on: push: paths: - 'cloudformation/**' + - 'cloudformation/**/**' jobs: deploy: diff --git a/app/external/mock/cost_explorer.go b/app/external/mock/cost_explorer.go index 3822ce8..684d309 100644 --- a/app/external/mock/cost_explorer.go +++ b/app/external/mock/cost_explorer.go @@ -1,3 +1,4 @@ +// Package mock is mock for external package. package mock import ( diff --git a/app/interactor/cost_explorer.go b/app/interactor/cost_explorer.go index b53248a..e5ec57f 100644 --- a/app/interactor/cost_explorer.go +++ b/app/interactor/cost_explorer.go @@ -32,7 +32,7 @@ func NewCostGetter(c service.CostGetter) *CostGetter { // GetCost gets the cost. func (c *CostGetter) GetCost(ctx context.Context, input *usecase.CostGetterInput) (*usecase.CostGetterOutput, error) { if input.End.Before(input.Start) { - return nil, errors.New("End date is before the start date") + return nil, errors.New("end date is before the start date") } output, err := c.CostGetter.GetCost(ctx, &service.CostGetterInput{ Start: input.Start,