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
Binary file removed .DS_Store
Binary file not shown.
Binary file removed .github/.DS_Store
Binary file not shown.
26 changes: 0 additions & 26 deletions .github/workflows/build.yaml

This file was deleted.

3 changes: 2 additions & 1 deletion .github/workflows/pr-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
permissions: write-all
jobs:
build:
uses: LayeredCraft/devops-templates/.github/workflows/pr-build.yaml@v7.1
uses: LayeredCraft/devops-templates/.github/workflows/pr-build.yaml@v8.1
with:
solution: LayeredCraft.Cdk.Constructs.slnx
hasTests: true
Expand All @@ -18,5 +18,6 @@ jobs:
8.0.x
9.0.x
10.0.x
11.0.x
runCdk: false
secrets: inherit
13 changes: 13 additions & 0 deletions .github/workflows/pr-title-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: PR Title Check

on:
pull_request:
types: [opened, edited, synchronize, reopened]

permissions:
pull-requests: read
statuses: write

jobs:
validate:
uses: LayeredCraft/devops-templates/.github/workflows/pr-title-check.yml@v8.1
32 changes: 32 additions & 0 deletions .github/workflows/publish-preview.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Publish Preview

on:
workflow_dispatch:
push:
branches:
- main
paths-ignore:
- 'docs/**'
- 'README.md'
- 'ROADMAP.md'
- 'mkdocs.yml'
- 'requirements.txt'

permissions: write-all

jobs:
# To add support for additional .NET versions (e.g. net9, net11), add release branches
# (e.g. release/net9) and wire up separate caller workflows targeting those branches.

publish:
uses: LayeredCraft/devops-templates/.github/workflows/publish-preview.yml@v8.1
with:
solution: LayeredCraft.Cdk.Constructs.slnx
dotnetVersion: |
8.0.x
9.0.x
10.0.x
11.0.x
prereleaseIdentifier: alpha
hasTests: true
secrets: inherit
23 changes: 23 additions & 0 deletions .github/workflows/publish-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Publish Release

on:
release:
types: [published]

permissions: write-all

jobs:
# To add support for additional .NET versions (e.g. net9, net11), add release branches
# (e.g. release/net9) and wire up separate caller workflows targeting those branches.

publish:
uses: LayeredCraft/devops-templates/.github/workflows/publish-release.yml@v8.1
with:
solution: LayeredCraft.Cdk.Constructs.slnx
dotnetVersion: |
8.0.x
9.0.x
10.0.x
11.0.x
hasTests: true
secrets: inherit
20 changes: 20 additions & 0 deletions .github/workflows/release-drafter.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Release Drafter

on:
push:
branches:
- main
pull_request:
types: [opened, edited, synchronize, reopened, ready_for_review]
workflow_dispatch:

permissions:
contents: write
pull-requests: write

jobs:
draft:
uses: LayeredCraft/devops-templates/.github/workflows/release-drafter.yml@v8.1
with:
event_name: ${{ github.event_name }}
pr_draft: ${{ github.event.pull_request.draft == true }}
8 changes: 4 additions & 4 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
<ItemGroup Label="Build">
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="10.0.201" />
<PackageVersion Include="Microsoft.Testing.Extensions.CodeCoverage" Version="18.5.2" />
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="10.0.202" />
<PackageVersion Include="Microsoft.Testing.Extensions.CodeCoverage" Version="18.6.2" />
</ItemGroup>
<ItemGroup Label="AWS">
<PackageVersion Include="Amazon.CDK.Lib" Version="2.248.0" />
<PackageVersion Include="Amazon.CDK.Lib" Version="2.250.0" />
</ItemGroup>
<ItemGroup Label="Testing">
<PackageVersion Include="AutoFixture" Version="4.18.1" />
<PackageVersion Include="AutoFixture.AutoNSubstitute" Version="4.18.1" />
<PackageVersion Include="AutoFixture.Xunit3" Version="4.19.0" />
<PackageVersion Include="AwesomeAssertions" Version="9.4.0" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.3.0" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.4.0" />
<PackageVersion Include="NSubstitute" Version="5.3.0" />
<PackageVersion Include="xunit.v3.mtp-v2" Version="3.2.2" />
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.5" />
Expand Down
5 changes: 4 additions & 1 deletion LayeredCraft.Cdk.Constructs.slnx
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,12 @@
</Folder>
<Folder Name="/git/">
<File Path=".github/dependabot.yml" />
<File Path=".github/workflows/build.yaml" />
<File Path=".github/workflows/docs.yml" />
<File Path=".github/workflows/pr-build.yaml" />
<File Path=".github\workflows\pr-title-check.yaml" />
<File Path=".github\workflows\publish-preview.yaml" />
<File Path=".github\workflows\publish-release.yaml" />
<File Path=".github\workflows\release-drafter.yaml" />
<File Path=".gitignore" />
</Folder>
<Folder Name="/Solution Items/">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
<TargetFrameworks>net8.0;net9.0;net10.0;net11.0</TargetFrameworks>
<LangVersion>default</LangVersion>
<PackageId>LayeredCraft.Cdk.Constructs</PackageId>
<Title>LayeredCraft.Cdk.Constructs</Title>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<Nullable>enable</Nullable>
<OutputType>Exe</OutputType>
<RootNamespace>LayeredCraft.Cdk.Constructs.Tests</RootNamespace>
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
<TargetFrameworks>net8.0;net9.0;net10.0;net11.0</TargetFrameworks>
<LangVersion>default</LangVersion>
<IsPackable>false</IsPackable>
<!--
Expand Down
Loading