Skip to content

Commit 8ed3d8a

Browse files
authored
Merge pull request #2 from osisdie/ci/net10
Multi-target net8.0 + net10.0 for endpoint and test projects
2 parents e441588 + d775309 commit 8ed3d8a

File tree

16 files changed

+31
-18
lines changed

16 files changed

+31
-18
lines changed

.github/workflows/dotnet.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,17 @@ jobs:
1010
build:
1111
runs-on: ubuntu-latest
1212

13+
strategy:
14+
matrix:
15+
dotnet-version: ['8.0.x', '10.0.x']
16+
1317
steps:
1418
- uses: actions/checkout@v4
1519

16-
- name: Setup .NET
20+
- name: Setup .NET ${{ matrix.dotnet-version }}
1721
uses: actions/setup-dotnet@v4
1822
with:
19-
dotnet-version: 8.0.x
23+
dotnet-version: ${{ matrix.dotnet-version }}
2024

2125
- name: Restore dependencies
2226
run: dotnet restore

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
### 2026-03-20
2+
* **All Endpoint & Test projects**
3+
* feat: Multi-target `net8.0` and `net10.0` (12 `.csproj` files)
4+
* **CI/CD**
5+
* feat: Add strategy matrix for .NET 8 and .NET 10 in GitHub Actions workflow
6+
* **Repo**
7+
* chore: Update repo description and add `net10`, `multi-target` topics
8+
* chore: Update README badge and features for multi-target support
9+
110
### 2025-01-03
211
* **Nwpie.Foundation.***
312
* pkge: Upgrade `Microsoft` packages to 9.0.0 *

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
BSD 3-Clause License
22

3-
Copyright (c) 2025, Kevin Wu
3+
Copyright (c) 2019-2026, Kevin Wu
44

55
Redistribution and use in source and binary forms, with or without
66
modification, are permitted provided that the following conditions are met:

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Nwpie.Foundation.NetCore.SDK
22

3-
[![.NET](https://img.shields.io/badge/.NET-8.0-blue.svg)](https://dotnet.microsoft.com/download/dotnet/8.0)
3+
[![.NET](https://img.shields.io/badge/.NET-8%20%7C%2010-blue.svg)](https://dotnet.microsoft.com/download/dotnet)
44
[![License](https://img.shields.io/badge/license-BSD%203--Clause-blue.svg)](LICENSE)
55
[![Build](https://github.com/osisdie/Nwpie.Foundation.NetCore.SDK/actions/workflows/dotnet.yml/badge.svg)](https://github.com/osisdie/Nwpie.Foundation.NetCore.SDK/actions/workflows/dotnet.yml)
66
[![GitHub stars](https://img.shields.io/github/stars/osisdie/Nwpie.Foundation.NetCore.SDK)](https://github.com/osisdie/Nwpie.Foundation.NetCore.SDK/stargazers)
77
[![GitHub issues](https://img.shields.io/github/issues/osisdie/Nwpie.Foundation.NetCore.SDK)](https://github.com/osisdie/Nwpie.Foundation.NetCore.SDK/issues)
88
[![Last commit](https://img.shields.io/github/last-commit/osisdie/Nwpie.Foundation.NetCore.SDK)](https://github.com/osisdie/Nwpie.Foundation.NetCore.SDK/commits/main)
99

10-
**Nwpie.Foundation.NetCore.SDK** is a comprehensive, modular SDK built for .NET Core (.NET 8) developers. It simplifies and enhances application development by providing an all-in-one solution with well-defined abstractions, robust utilities, and modularized components. This SDK is tailored for modern .NET Core projects and is fully supported with unit tests.
10+
**Nwpie.Foundation.NetCore.SDK** is a comprehensive, modular SDK built for .NET developers. It simplifies and enhances application development by providing an all-in-one solution with well-defined abstractions, robust utilities, and modularized components. Core libraries target `netstandard2.1` for broad compatibility, while endpoint and test projects multi-target `net8.0` and `net10.0`. Fully supported with unit tests.
1111

1212
## Table of Contents
1313
- [Features](#features)
@@ -23,7 +23,7 @@
2323
---
2424

2525
## Features
26-
- **.NET Core (.NET 8) Compatibility**: Designed for modern .NET Core applications.
26+
- **Multi-target .NET 8 & .NET 10**: Endpoint and test projects target both `net8.0` and `net10.0`. Core libraries use `netstandard2.1` for broad compatibility.
2727
- **Modular SDK**: Use what you need with a modularized structure.
2828
- **Comprehensive Tests**: Unit tests demonstrate usage and ensure reliability.
2929
- **Extensive Utilities**: Includes tools for logging, configuration, data access, and more.

samples/MiniSite/ESProxy/Endpoint/Nwpie.MiniSite.ES.Endpoint.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
55
<EnableDefaultContentItems>false</EnableDefaultContentItems>
66
</PropertyGroup>
77

samples/MiniSite/KVS/Endpoint/Nwpie.MiniSite.KVS.Endpoint.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
55
<EnableDefaultContentItems>false</EnableDefaultContentItems>
66
</PropertyGroup>
77

samples/MiniSite/Storage/Endpoint/Nwpie.MiniSite.Storage.Endpoint.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
55
<EnableDefaultContentItems>false</EnableDefaultContentItems>
66
</PropertyGroup>
77

samples/Serverless/Notification/Lambda/Nwpie.Foundation.Notification.Lambda.Service.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22
<PropertyGroup>
3-
<TargetFramework>net8.0</TargetFramework>
3+
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
44
<EnableDefaultContentItems>false</EnableDefaultContentItems>
55
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
66
<AWSProjectType>Lambda</AWSProjectType>

samples/Serverless/S3Proxy/Endpoint/Nwpie.Foundation.S3Proxy.Endpoint.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22
<PropertyGroup>
3-
<TargetFramework>net8.0</TargetFramework>
3+
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
44
<EnableDefaultContentItems>false</EnableDefaultContentItems>
55
</PropertyGroup>
66

samples/Serverless/S3Proxy/Lambda/Nwpie.Foundation.S3Proxy.Lambda.Service.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22
<PropertyGroup>
3-
<TargetFramework>net8.0</TargetFramework>
3+
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
44
<EnableDefaultContentItems>false</EnableDefaultContentItems>
55
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
66
<AWSProjectType>Lambda</AWSProjectType>

0 commit comments

Comments
 (0)