Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 7 additions & 10 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
validate-template-full:
name: Validate Full Template
uses: gpreviatti/github-actions-templates/.github/workflows/dotnet-validate.yml@v1
uses: gpreviatti/github-actions-templates/.github/workflows/dotnet-validate-full.yml@v1
with:
build_path: "./templates/Full"
sonar_project: "hexagonal-solution-template-full"
Expand All @@ -21,31 +21,28 @@ jobs:

validate-template-bff:
name: Validate BFF Template
uses: gpreviatti/github-actions-templates/.github/workflows/dotnet-validate.yml@v1
uses: gpreviatti/github-actions-templates/.github/workflows/dotnet-validate-bff.yml@v1
with:
build_path: "./templates/Bff"
dotnet_version: "${{ vars.PROJECT_DOTNET_VERSION }}"
integration_test_project_path: "./templates/Bff/tests/IntegrationTests"
docker_compose_file_path: "./templates/Bff/docker-compose.yml"
secrets:
sonar_token: ${{ secrets.SONAR_TOKEN }}


validate-contracts-template:
name: Validate Contracts Template
uses: gpreviatti/github-actions-templates/.github/workflows/dotnet-validate.yml@v1
uses: gpreviatti/github-actions-templates/.github/workflows/dotnet-validate-contracts.yml@v1
with:
build_path: "./templates/Contracts"
dotnet_version: "${{ vars.PROJECT_DOTNET_VERSION }}"
unit_test_project_path: "./templates/Contracts/tests/UnitTests/"
default_stryker_config_path: "./templates/Contracts/tests/UnitTests/stryker-config.json"
sonar_validation: false
test_project_path: "./templates/Contracts/tests/UnitTests/"
stryker_config_path: "./templates/Contracts/tests/UnitTests/stryker-config.json"

pack-and-publish:
name: Pack and Publish Template
needs: [validate-template-full, validate-template-bff, validate-contracts-template]
uses: gpreviatti/github-actions-templates/.github/workflows/dotnet-pack.yml@v1
with:
dotnet_version: "${{ vars.PROJECT_DOTNET_VERSION }}"
package_version: "10.2.0"
package_version: "10.3.0"
secrets:
nuget_api_key: ${{ secrets.NUGET_API_KEY }}
11 changes: 5 additions & 6 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
validate-template-full:
name: Validate Full Template
uses: gpreviatti/github-actions-templates/.github/workflows/dotnet-validate.yml@v1
uses: gpreviatti/github-actions-templates/.github/workflows/dotnet-validate-full.yml@v1
with:
build_path: "./templates/Full"
sonar_project: "hexagonal-solution-template-full"
Expand All @@ -22,7 +22,7 @@ jobs:

validate-template-bff:
name: Validate BFF Template
uses: gpreviatti/github-actions-templates/.github/workflows/dotnet-validate.yml@v1
uses: gpreviatti/github-actions-templates/.github/workflows/dotnet-validate-bff.yml@v1
with:
build_path: "./templates/Bff"
dotnet_version: "${{ vars.PROJECT_DOTNET_VERSION }}"
Expand All @@ -31,10 +31,9 @@ jobs:

validate-contracts-template:
name: Validate Contracts Template
uses: gpreviatti/github-actions-templates/.github/workflows/dotnet-validate.yml@v1
uses: gpreviatti/github-actions-templates/.github/workflows/dotnet-validate-contracts.yml@v1
with:
build_path: "./templates/Contracts"
dotnet_version: "${{ vars.PROJECT_DOTNET_VERSION }}"
unit_test_project_path: "./templates/Contracts/tests/UnitTests/"
default_stryker_config_path: "./templates/Contracts/tests/UnitTests/stryker-config.json"
sonar_validation: false
test_project_path: "./templates/Contracts/tests/UnitTests/"
stryker_config_path: "./templates/Contracts/tests/UnitTests/stryker-config.json"
6 changes: 1 addition & 5 deletions GPreviatti.Template.Hexagonal.Solution.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,7 @@
<RepositoryUrl>git://github.com/gpreviatti/hexagonal-solution-template</RepositoryUrl>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageReleaseNotes>
- Add new Contracts-only template (`hexagonal-solution-contracts`) with shared request/response contracts, DTOs and gRPC protobuf definitions
- Add unit tests in the Contracts template to validate contract instantiation and default values
- Add dedicated Contracts template solution file and template-level README
- Update root README with usage/help commands and guidance for the new Contracts template
- Optimize Contracts template package management by removing unused package versions
- Github Actions workflows improvements
</PackageReleaseNotes>
</PropertyGroup>
<ItemGroup>
Expand Down
Loading