diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yml similarity index 100% rename from .github/workflows/pr.yaml rename to .github/workflows/pr.yml diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml new file mode 100644 index 0000000..6401f55 --- /dev/null +++ b/.github/workflows/push.yml @@ -0,0 +1,36 @@ +name: Push + +on: + push: + branches: + - main + +env: + DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true + DOTNET_NOLOGO: true + +jobs: + check: + name: Check + runs-on: ubuntu-latest + permissions: + contents: read + packages: read + steps: + - name: Checkout + uses: actions/checkout@v6 + with: + persist-credentials: false + + - name: Setup .NET Core SDK + uses: actions/setup-dotnet@v5 + with: + global-json-file: global.json + cache: true + cache-dependency-path: '**/packages.lock.json' + + - name: Restore .NET Packages + run: dotnet restore --locked-mode + + - name: Build .NET Solution + run: dotnet build --configuration Release --no-restore diff --git a/README.md b/README.md index bd92e8d..acad54f 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,19 @@ # Hosting Extensions for .NET Applications -[![Build Status](https://github.com/escendit/extensions-hosting/actions/workflows/package.yml/badge.svg)](https://github.com/escendit/extensions-hosting/actions/workflows/package.yml) -[![NuGet Version](https://img.shields.io/nuget/v/Escendit.Extensions.Hosting.Orleans.svg)](https://www.nuget.org/packages/Escendit.Extensions.Hosting.Orleans) +[![Build Status](https://github.com/escendit/extensions-hosting/actions/workflows/push.yml/badge.svg)](https://github.com/escendit/extensions-hosting/actions/workflows/push.yml) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) +## NuGet Packages + +| Package | Version | +|---|---| +| `Escendit.Extensions.Hosting.Orleans` | [![NuGet Version](https://img.shields.io/nuget/v/Escendit.Extensions.Hosting.Orleans.svg)](https://www.nuget.org/packages/Escendit.Extensions.Hosting.Orleans) | +| `Escendit.Extensions.Hosting.ServiceDefaults` | [![NuGet Version](https://img.shields.io/nuget/v/Escendit.Extensions.Hosting.ServiceDefaults.svg)](https://www.nuget.org/packages/Escendit.Extensions.Hosting.ServiceDefaults) | +| `Escendit.Extensions.Hosting.Temporalio` | [![NuGet Version](https://img.shields.io/nuget/v/Escendit.Extensions.Hosting.Temporalio.svg)](https://www.nuget.org/packages/Escendit.Extensions.Hosting.Temporalio) | +| `Escendit.Extensions.Hosting.UserSecrets` | [![NuGet Version](https://img.shields.io/nuget/v/Escendit.Extensions.Hosting.UserSecrets.svg)](https://www.nuget.org/packages/Escendit.Extensions.Hosting.UserSecrets) | + + + This repository provides streamlined hosting extensions for .NET applications, offering simplified configuration and dependency injection setup for building robust, distributed applications. It provides opinionated defaults and convenient extension methods for integrating popular services like Temporal.io, Orleans, and OpenTelemetry. ## Key Features