diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml deleted file mode 100644 index 3caf506..0000000 --- a/.github/workflows/build.yaml +++ /dev/null @@ -1,22 +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@v7.6 - with: - hasTests: true - dotnet-version: | - 8.0.x - 9.0.x - 10.0.x - 11.0.x - 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..7a82016 --- /dev/null +++ b/.github/workflows/pr-title-check.yaml @@ -0,0 +1,9 @@ +name: PR Title Check + +on: + pull_request: + types: [opened, edited, synchronize, reopened] + +jobs: + validate: + uses: LayeredCraft/devops-templates/.github/workflows/pr-title-check.yml@main \ No newline at end of file diff --git a/.github/workflows/publish-preview.yaml b/.github/workflows/publish-preview.yaml new file mode 100644 index 0000000..09d71fb --- /dev/null +++ b/.github/workflows/publish-preview.yaml @@ -0,0 +1,25 @@ +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@main + with: + solution: LayeredCraft.Logging.CompactJsonFormatter.slnx + dotnetVersion: | + 8.0.x + 9.0.x + 10.0.x + 11.0.x + hasTests: true + secrets: inherit \ No newline at end of file diff --git a/.github/workflows/publish-release.yaml b/.github/workflows/publish-release.yaml new file mode 100644 index 0000000..ad1668f --- /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@main + with: + solution: LayeredCraft.Logging.CompactJsonFormatter.slnx + dotnetVersion: | + 8.0.x + 9.0.x + 10.0.x + 11.0.x + hasTests: true + secrets: inherit \ No newline at end of file diff --git a/.github/workflows/release-drafter.yaml b/.github/workflows/release-drafter.yaml new file mode 100644 index 0000000..a85c05f --- /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@main + with: + event_name: ${{ github.event_name }} + pr_draft: ${{ github.event.pull_request.draft == true }} \ No newline at end of file diff --git a/LayeredCraft.Logging.CompactJsonFormatter.slnx b/LayeredCraft.Logging.CompactJsonFormatter.slnx index c2ae0b8..da9c714 100644 --- a/LayeredCraft.Logging.CompactJsonFormatter.slnx +++ b/LayeredCraft.Logging.CompactJsonFormatter.slnx @@ -1,8 +1,11 @@ - + + + +