19 Commits

Author SHA1 Message Date
cf5e17f430 test1
Some checks failed
check main state / build (10.0.x) (push) Has been cancelled
Main Build Process / Build & Test (pull_request) Failing after 1m44s
2026-02-05 23:48:17 +01:00
44a4ed95f5 test1
Some checks failed
check main state / build (10.0.x) (push) Has been cancelled
Main Build Process / Build & Test (pull_request) Failing after 1m31s
2026-02-05 23:41:45 +01:00
7e52bd0e33 test1
Some checks failed
check main state / build (10.0.x) (push) Has been cancelled
Main Build Process / Build & Test (pull_request) Failing after 1m31s
2026-02-05 23:37:33 +01:00
516bd3cf87 test1
Some checks failed
check main state / build (10.0.x) (push) Has been cancelled
Main Build Process / Build & Test (pull_request) Failing after 1m32s
2026-02-05 23:33:40 +01:00
6377884651 test1
Some checks failed
check main state / build (10.0.x) (push) Has been cancelled
Main Build Process / Build & Test (pull_request) Failing after 1m33s
2026-02-05 23:25:35 +01:00
05804114b4 test1
Some checks failed
check main state / build (10.0.x) (push) Successful in 2m10s
Main Build Process / Build & Test (pull_request) Failing after 1m42s
2026-02-05 23:14:46 +01:00
ea7a32d0c9 test1
Some checks failed
check main state / build (10.0.x) (push) Successful in 2m7s
Main Build Process / Build & Test (pull_request) Failing after 2m17s
2026-02-05 22:56:57 +01:00
9b1d573231 test1
Some checks failed
check main state / build (10.0.x) (push) Successful in 1m44s
Main Build Process / Build & Test (pull_request) Failing after 1m34s
2026-02-05 22:22:40 +01:00
33155d788d test1
Some checks failed
check main state / build (10.0.x) (push) Successful in 1m35s
Main Build Process / Build & Test (pull_request) Failing after 1m28s
2026-02-05 22:11:42 +01:00
73ba6d36a2 Update dependency Microsoft.AspNetCore.OpenApi to v10 (#23)
All checks were successful
check main state / build (10.0.x) (push) Successful in 1m44s
Main Build Process / Build & Test (push) Successful in 1m34s
This PR contains the following updates:

| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [Microsoft.AspNetCore.OpenApi](https://asp.net/) ([source](https://github.com/dotnet/dotnet)) | `8.0.23` → `10.0.2` | ![age](https://developer.mend.io/api/mc/badges/age/nuget/Microsoft.AspNetCore.OpenApi/10.0.2?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/nuget/Microsoft.AspNetCore.OpenApi/8.0.23/10.0.2?slim=true) |

---

### Release Notes

<details>
<summary>dotnet/dotnet (Microsoft.AspNetCore.OpenApi)</summary>

### [`v9.0.7`](https://github.com/dotnet/dotnet/releases/tag/v9.0.7): .NET 9.0.7

You can build .NET 9.0 from the repository by cloning the release tag `v9.0.7` and following the build instructions in the [main README.md](https://github.com/dotnet/dotnet/blob/v9.0.7/README.md#building).

Alternatively, you can build from the sources attached to this release directly.
More information on this process can be found in the [dotnet/dotnet repository](https://github.com/dotnet/dotnet/blob/v9.0.7/README.md#building-from-released-sources).

Attached are PGP signatures for the GitHub generated tarball and zipball. You can find the public key at <https://dot.net/release-key-2023>

### [`v9.0.6`](https://github.com/dotnet/dotnet/releases/tag/v9.0.6): .NET 9.0.6

You can build .NET 9.0 from the repository by cloning the release tag `v9.0.6` and following the build instructions in the [main README.md](https://github.com/dotnet/dotnet/blob/v9.0.6/README.md#building).

Alternatively, you can build from the sources attached to this release directly.
More information on this process can be found in the [dotnet/dotnet repository](https://github.com/dotnet/dotnet/blob/v9.0.6/README.md#building-from-released-sources).

Attached are PGP signatures for the GitHub generated tarball and zipball. You can find the public key at <https://dot.net/release-key-2023>

### [`v9.0.5`](https://github.com/dotnet/dotnet/releases/tag/v9.0.5): .NET 9.0.5

You can build .NET 9.0 from the repository by cloning the release tag `v9.0.5` and following the build instructions in the [main README.md](https://github.com/dotnet/dotnet/blob/v9.0.5/README.md#building).

Alternatively, you can build from the sources attached to this release directly.
More information on this process can be found in the [dotnet/dotnet repository](https://github.com/dotnet/dotnet/blob/v9.0.5/README.md#building-from-released-sources).

Attached are PGP signatures for the GitHub generated tarball and zipball. You can find the public key at <https://dot.net/release-key-2023>

### [`v9.0.4`](https://github.com/dotnet/dotnet/releases/tag/v9.0.4): .NET 9.0.4

You can build .NET 9.0 from the repository by cloning the release tag `v9.0.4` and following the build instructions in the [main README.md](https://github.com/dotnet/dotnet/blob/v9.0.4/README.md#building).

Alternatively, you can build from the sources attached to this release directly.
More information on this process can be found in the [dotnet/dotnet repository](https://github.com/dotnet/dotnet/blob/v9.0.4/README.md#building-from-released-sources).

Attached are PGP signatures for the GitHub generated tarball and zipball. You can find the public key at <https://dot.net/release-key-2023>

### [`v9.0.3`](https://github.com/dotnet/dotnet/releases/tag/v9.0.3): .NET 9.0.3

You can build .NET 9.0 from the repository by cloning the release tag `v9.0.3` and following the build instructions in the [main README.md](https://github.com/dotnet/dotnet/blob/v9.0.3/README.md#building).

Alternatively, you can build from the sources attached to this release directly.
More information on this process can be found in the [dotnet/dotnet repository](https://github.com/dotnet/dotnet/blob/v9.0.3/README.md#building-from-released-sources).

Attached are PGP signatures for the GitHub generated tarball and zipball. You can find the public key at <https://dot.net/release-key-2023>

### [`v9.0.2`](https://github.com/dotnet/dotnet/releases/tag/v9.0.2): .NET 9.0.2

You can build .NET 9.0 from the repository by cloning the release tag `v9.0.2` and following the build instructions in the [main README.md](https://github.com/dotnet/dotnet/blob/v9.0.2/README.md#building).

Alternatively, you can build from the sources attached to this release directly.
More information on this process can be found in the [dotnet/dotnet repository](https://github.com/dotnet/dotnet/blob/v9.0.2/README.md#building-from-released-sources).

Attached are PGP signatures for the GitHub generated tarball and zipball. You can find the public key at <https://dot.net/release-key-2023>

### [`v9.0.1`](https://github.com/dotnet/dotnet/releases/tag/v9.0.1): .NET 9.0.1

You can build .NET 9.0 from the repository by cloning the release tag `v9.0.1` and following the build instructions in the [main README.md](https://github.com/dotnet/dotnet/blob/v9.0.1/README.md#building).

Alternatively, you can build from the sources attached to this release directly.
More information on this process can be found in the [dotnet/dotnet repository](https://github.com/dotnet/dotnet/blob/v9.0.1/README.md#building-from-released-sources).

Attached are PGP signatures for the GitHub generated tarball and zipball. You can find the public key at <https://dot.net/release-key-2023>

### [`v9.0.0`](https://github.com/dotnet/dotnet/releases/tag/v9.0.0): .NET 9.0.0

You can build .NET 9.0 from the repository by cloning the release tag `v9.0.0` and following the build instructions in the [main README.md](https://github.com/dotnet/dotnet/blob/v9.0.0/README.md#building).

Alternatively, you can build from the sources attached to this release directly.
More information on this process can be found in the [dotnet/dotnet repository](https://github.com/dotnet/dotnet/blob/v9.0.0/README.md#building-from-released-sources).

Attached are PGP signatures for the GitHub generated tarball and zipball. You can find the public key at <https://dot.net/release-key-2023>

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4zLjUiLCJ1cGRhdGVkSW5WZXIiOiI0My4zLjUiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->

Co-authored-by: Renovate Bot <renovate-bot@gitea.borealian.com>
Reviewed-on: #23
Co-authored-by: mcmuzzle <vezuvan@hotmail.com>
Co-committed-by: mcmuzzle <vezuvan@hotmail.com>
2026-02-05 20:59:39 +00:00
c656206513 [FEAT] mise en place des action pour passer
All checks were successful
Main Build Process / Build & Test (pull_request) Successful in 1m20s
check main state / build (8.0.x) (push) Successful in 1m29s
Main Build Process / Build & Test (push) Successful in 1m21s
2026-02-05 20:13:45 +00:00
Renovate Bot
55750bb5e5 Update actions/checkout action to v6
All checks were successful
check main state / build (8.0.x) (push) Successful in 1m29s
Main Build Process / Build & Test (push) Successful in 1m21s
2026-02-05 17:55:29 +00:00
Renovate Bot
9f9032d9af Update danielpalme/ReportGenerator-GitHub-Action action to v5.5.1
Some checks failed
Main Build Process / Build & Test (pull_request) Successful in 1m24s
Main Build Process / Build & Test (push) Has been cancelled
check main state / build (8.0.x) (push) Has been cancelled
2026-02-05 16:52:28 +00:00
Renovate Bot
effa82a069 Update dependency AutoMapper to v16
All checks were successful
Main Build Process / Build & Test (pull_request) Successful in 1m19s
check main state / build (8.0.x) (push) Successful in 1m49s
Main Build Process / Build & Test (push) Successful in 1m21s
2026-02-05 15:11:55 +00:00
Renovate Bot
25a4d10229 Update vstest monorepo to v17.14.1
All checks were successful
check main state / build (8.0.x) (push) Successful in 1m44s
Main Build Process / Build & Test (push) Successful in 1m33s
2026-02-05 14:50:38 +00:00
Renovate Bot
ebc50f693d Update dependency coverlet.collector to v6.0.4
Some checks failed
Main Build Process / Build & Test (pull_request) Successful in 1m25s
Main Build Process / Build & Test (push) Has been cancelled
check main state / build (8.0.x) (push) Successful in 1m31s
2026-02-05 14:38:08 +00:00
Renovate Bot
396d8070d5 Update dependency Microsoft.AspNetCore.OpenApi to 8.0.23
Some checks failed
Main Build Process / Build & Test (push) Has been cancelled
check main state / build (8.0.x) (push) Successful in 1m33s
Main Build Process / Build & Test (pull_request) Successful in 1m19s
2026-02-05 14:34:32 +00:00
Renovate Bot
6342cc4296 Update xunit-dotnet monorepo
Some checks failed
Main Build Process / Build & Test (push) Has been cancelled
check main state / build (8.0.x) (push) Successful in 1m48s
Main Build Process / Build & Test (pull_request) Successful in 1m45s
2026-02-05 14:32:41 +00:00
Renovate Bot
bf67c69899 Update dependency Swashbuckle.AspNetCore to v6.9.0
Some checks failed
Main Build Process / Build & Test (pull_request) Successful in 1m24s
check main state / build (8.0.x) (push) Successful in 1m45s
Main Build Process / Build & Test (push) Has been cancelled
2026-02-05 11:25:51 +00:00
15 changed files with 69 additions and 20 deletions

View File

@@ -8,14 +8,14 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: [ '8.0.x' ]
dotnet-version: [ '10.0.x' ]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.0.x'
dotnet-version: '10.0.x'
- name: Install dependencies
run: dotnet restore ./src/LittleTown.sln
- name: Build

View File

@@ -24,28 +24,45 @@ jobs:
steps:
- name: Check out the code
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
8.x
10.x
- name: "Restore/Build/Test"
run: |
dotnet test ./src/LittleTown.sln --configuration Release --verbosity normal --logger trx --collect:"XPlat Code Coverage" --logger:"trx;LogFileName=test_results.xml"
- name: Combine Coverage Reports # This is because one report is produced per project, and we want one result for all of them.
uses: danielpalme/ReportGenerator-GitHub-Action@5.3.8
uses: danielpalme/ReportGenerator-GitHub-Action@v5.5.1
with:
reports: "**/*.cobertura.xml" # REQUIRED # The coverage reports that should be parsed (separated by semicolon). Globbing is supported.
targetdir: "${{ github.workspace }}" # REQUIRED # The directory where the generated report should be saved.
reporttypes: "Cobertura" # The output formats and scope (separated by semicolon) Values: Badges, Clover, Cobertura, CsvSummary, Html, Html_Dark, Html_Light, Html_BlueRed, HtmlChart, HtmlInline, HtmlInline_AzurePipelines, HtmlInline_AzurePipelines_Dark, HtmlInline_AzurePipelines_Light, HtmlSummary, JsonSummary, Latex, LatexSummary, lcov, MarkdownSummary, MarkdownSummaryGithub, MarkdownDeltaSummary, MHtml, PngChart, SonarQube, TeamCitySummary, TextSummary, TextDeltaSummary, Xml, XmlSummary
targetdir: "coverage-report" # REQUIRED # The directory where the generated report should be saved.
reporttypes: "Html;MarkdownSummary;Cobertura" # The output formats and scope (separated by semicolon) Values: Badges, Clover, Cobertura, CsvSummary, Html, Html_Dark, Html_Light, Html_BlueRed, HtmlChart, HtmlInline, HtmlInline_AzurePipelines, HtmlInline_AzurePipelines_Dark, HtmlInline_AzurePipelines_Light, HtmlSummary, JsonSummary, Latex, LatexSummary, lcov, MarkdownSummary, MarkdownSummaryGithub, MarkdownDeltaSummary, MHtml, PngChart, SonarQube, TeamCitySummary, TextSummary, TextDeltaSummary, Xml, XmlSummary
verbosity: "Info" # The verbosity level of the log messages. Values: Verbose, Info, Warning, Error, Off
title: "Code Coverage" # Optional title.
tag: "${{ github.run_number }}_${{ github.run_id }}" # Optional tag or build version.
customSettings: "" # Optional custom settings (separated by semicolon). See: https://github.com/danielpalme/ReportGenerator/wiki/Settings.
toolpath: "reportgeneratortool" # Default directory for installing the dotnet tool.
- name: Upload coverage report (debug)
uses: actions/upload-artifact@v3
with:
name: coverage-report
path: coverage-report/
if-no-files-found: error
- name: Publish coverage to pages
run: ls coverage-report
- name: Upload coverage via SSH
uses: appleboy/scp-action@v1
with:
host: "192.168.1.103"
username: "gitea"
password: "password"
port: 2222
source: "coverage-report/*"
target: "/config/test"
- name: Upload Combined Coverage XML
uses: actions/upload-artifact@v3
with:

View File

@@ -1,15 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<InvariantGlobalization>true</InvariantGlobalization>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="8.0.23" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.4.0" />
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="10.0.2" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.9.0" />
</ItemGroup>
</Project>

View File

@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
@@ -10,16 +10,16 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="AutoMapper" Version="13.0.1" />
<PackageReference Include="Microsoft.CodeCoverage" Version="17.11.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.0" />
<PackageReference Include="AutoMapper" Version="16.0.0" />
<PackageReference Include="Microsoft.CodeCoverage" Version="17.14.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
<PackageReference Include="NUnit3TestAdapter" Version="4.6.0" />
<PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<PackageReference Include="xunit" Version="2.9.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="6.0.0">
<PackageReference Include="coverlet.collector" Version="6.0.4">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>

View File

@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<GenerateDocumentationFile>true</GenerateDocumentationFile>

View File

@@ -12,4 +12,10 @@ public class EmptyAction : IAction
match.NextPlayer();
}
/// <inheritdoc/>
public bool CanExecute(Match match)
{
return true;
}
}

View File

@@ -0,0 +1,19 @@
namespace LittleTown.Core.Actions;
/// <summary>
/// Action qui consiste a poser un pion sur le une case du plateau
/// </summary>
public class FieldAction : IAction
{
/// <inheritdoc/>>
public void Execute(Match match)
{
throw new NotImplementedException();
}
/// <inheritdoc/>>
public bool CanExecute(Match match)
{
return true;
}
}

View File

@@ -10,4 +10,11 @@ public interface IAction
/// </summary>
/// <param name="match">le match a modifier avec cette action</param>
public void Execute(Match match);
/// <summary>
/// Verifier si cette action peut être effectuée, si elle est légale
/// </summary>
/// <param name="match"></param>
/// <returns></returns>
public bool CanExecute(Match match);
}

View File

@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<GenerateDocumentationFile>true</GenerateDocumentationFile>