diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
deleted file mode 100644
index d6feff2..0000000
--- a/.github/workflows/build.yaml
+++ /dev/null
@@ -1,23 +0,0 @@
-name: Build
-on:
- workflow_dispatch:
- push:
- branches:
- - main
- - beta
- - release/*
- tags:
- - v*
-permissions: write-all
-jobs:
- build:
- uses: LayeredCraft/devops-templates/.github/workflows/package-build.yaml@v6.2
- with:
- dotnet-version: |
- 8.0.x
- 9.0.x
- 10.0.x
- hasTests: true
- useMtpRunner: true
- testDirectory: "test"
- secrets: inherit
\ No newline at end of file
diff --git a/.github/workflows/pr-build.yaml b/.github/workflows/pr-build.yaml
index 7eaa703..15b1f1b 100644
--- a/.github/workflows/pr-build.yaml
+++ b/.github/workflows/pr-build.yaml
@@ -7,7 +7,7 @@ on:
permissions: write-all
jobs:
build:
- uses: LayeredCraft/devops-templates/.github/workflows/pr-build.yaml@v6.2
+ uses: LayeredCraft/devops-templates/.github/workflows/pr-build.yaml@v8.0
with:
solution: DynamoDb.DistributedLock.slnx
hasTests: true
@@ -15,9 +15,9 @@ jobs:
8.0.x
9.0.x
10.0.x
+ 11.0.x
runCdk: false
useMtpRunner: true
- testDirectory: "test"
enableCodeCoverage: true
coverageThreshold: 80
secrets: inherit
\ No newline at end of file
diff --git a/.github/workflows/pr-title-check.yaml b/.github/workflows/pr-title-check.yaml
new file mode 100644
index 0000000..762c0c5
--- /dev/null
+++ b/.github/workflows/pr-title-check.yaml
@@ -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.0
diff --git a/.github/workflows/publish-preview.yaml b/.github/workflows/publish-preview.yaml
new file mode 100644
index 0000000..9494707
--- /dev/null
+++ b/.github/workflows/publish-preview.yaml
@@ -0,0 +1,24 @@
+name: Publish Preview
+
+on:
+ workflow_dispatch:
+ push:
+ branches: [main]
+ paths-ignore:
+ - 'docs/**'
+ - 'README.md'
+
+permissions: write-all
+
+jobs:
+ publish:
+ uses: LayeredCraft/devops-templates/.github/workflows/publish-preview.yml@v8.0
+ with:
+ solution: DynamoDb.DistributedLock.slnx
+ dotnetVersion: |
+ 8.0.x
+ 9.0.x
+ 10.0.x
+ 11.0.x
+ hasTests: true
+ secrets: inherit
diff --git a/.github/workflows/publish-release.yaml b/.github/workflows/publish-release.yaml
new file mode 100644
index 0000000..d6d110a
--- /dev/null
+++ b/.github/workflows/publish-release.yaml
@@ -0,0 +1,20 @@
+name: Publish Release
+
+on:
+ release:
+ types: [published]
+
+permissions: write-all
+
+jobs:
+ publish:
+ uses: LayeredCraft/devops-templates/.github/workflows/publish-release.yml@v8.0
+ with:
+ solution: DynamoDb.DistributedLock.slnx
+ dotnetVersion: |
+ 8.0.x
+ 9.0.x
+ 10.0.x
+ 11.0.x
+ hasTests: true
+ secrets: inherit
diff --git a/.github/workflows/release-drafter.yaml b/.github/workflows/release-drafter.yaml
new file mode 100644
index 0000000..8755081
--- /dev/null
+++ b/.github/workflows/release-drafter.yaml
@@ -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.0
+ with:
+ event_name: ${{ github.event_name }}
+ pr_draft: ${{ github.event.pull_request.draft == true }}
diff --git a/Directory.Packages.props b/Directory.Packages.props
index 7b063e5..5abbc62 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -3,11 +3,11 @@
true
-
-
+
+
-
+