Skip to content

Commit 99e4cbe

Browse files
[Update] to .net10
1 parent 11cf4fb commit 99e4cbe

10 files changed

Lines changed: 27 additions & 22 deletions

File tree

.github/workflows/CodeQuality.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,37 +10,39 @@ jobs:
1010
name: Build
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v5
13+
- uses: actions/checkout@v6.0.2
1414
with:
1515
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
1616

1717
- name: Set up JDK 17
18-
uses: actions/setup-java@v5
18+
uses: actions/setup-java@v5.2.0
1919
with:
2020
distribution: 'temurin'
2121
java-version: '17'
2222
overwrite-settings: false
2323

2424
- name: Setup dotnet
25-
uses: actions/setup-dotnet@v4
25+
uses: actions/setup-dotnet@v5.1.0
2626
with:
27-
dotnet-version: '9.0.x'
27+
dotnet-version: '10.0.x'
2828

2929
- name: Restore dependencies
3030
run: dotnet restore EcoreNetto.sln
3131

3232
- name: Sonarqube Begin
3333
env:
3434
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
35+
SONAR_SCANNER_OPTS: "-Xmx4096m"
3536
run: |
3637
dotnet tool install --global dotnet-sonarscanner
37-
dotnet sonarscanner begin /k:"STARIONGROUP_EcoreNetto" /o:"stariongroup" /d:sonar.token="$SONAR_TOKEN" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.opencover.reportsPaths="./CoverageResults/coverage.opencover.xml"
38+
dotnet tool install --global dotnet-coverage
39+
dotnet sonarscanner begin /k:"STARIONGROUP_EcoreNetto" /o:"stariongroup" /d:sonar.token="$SONAR_TOKEN" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.vscoveragexml.reportsPaths=coverage.xml
3840
3941
- name: Build
40-
run: dotnet build --no-restore /p:ContinuousIntegrationBuild=true
42+
run: dotnet build --no-restore --no-incremental /p:ContinuousIntegrationBuild=true
4143

4244
- name: Test with the dotnet CLI
43-
run: dotnet test EcoreNetto.sln --no-restore --no-build --verbosity normal /p:CollectCoverage=true /p:CoverletOutput="../CoverageResults/" /p:MergeWith="../CoverageResults/coverage.json" /p:CoverletOutputFormat=\"opencover,json\"
45+
run: dotnet-coverage collect "dotnet test EcoreNetto.sln --no-restore --no-build --verbosity normal" -f xml -o "coverage.xml"
4446

4547
- name: Sonarqube end
4648
env:

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ jobs:
2626

2727
steps:
2828
- name: Checkout repository
29-
uses: actions/checkout@v4
29+
uses: actions/checkout@v6.0.2
3030

3131
- name: Setup .NET Core
32-
uses: actions/setup-dotnet@v4
32+
uses: actions/setup-dotnet@v5.1.0
3333
with:
34-
dotnet-version: 9.0.x
34+
dotnet-version: 10.0.x
3535

3636
# Initializes the CodeQL tools for scanning.
3737
- name: Initialize CodeQL

.github/workflows/nuget-reference-check.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout repository
14-
uses: actions/checkout@v4
14+
uses: actions/checkout@v6.0.2
1515
with:
1616
# We must fetch at least the immediate parents so that if this is
1717
# a pull request then we can checkout the head.
1818
fetch-depth: 2
1919

2020
- name: Setup .NET Environment
21-
uses: actions/setup-dotnet@v4
21+
uses: actions/setup-dotnet@v5.1.0
2222
with:
23-
dotnet-version: 9.0.x
23+
dotnet-version: 10.0.x
2424

2525
- name: Install dependencies
2626
run: dotnet restore EcoreNetto.sln

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
DEFAULT_BRANCH: ${{ github.event.repository.default_branch }}
1919

2020
steps:
21-
- uses: actions/checkout@v4
21+
- uses: actions/checkout@v6.0.2
2222
with:
2323
fetch-depth: 0
2424
ref: ${{ env.DEFAULT_BRANCH }}
@@ -41,9 +41,9 @@ jobs:
4141
fi
4242
4343
- name: Setup .NET
44-
uses: actions/setup-dotnet@v4
44+
uses: actions/setup-dotnet@v5.1.0
4545
with:
46-
dotnet-version: '9.0.x'
46+
dotnet-version: '10.0.x'
4747

4848
- name: Set date
4949
run: |
@@ -153,7 +153,7 @@ jobs:
153153
git push origin "refs/tags/${VERSION}"
154154
155155
- name: Create draft GitHub release (attach EXE)
156-
uses: softprops/action-gh-release@72f2c25fcb47643c292f7107632f7a47c1df5cd8
156+
uses: softprops/action-gh-release@v2.5.0
157157
env:
158158
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
159159
with:

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,6 @@ src/ECoreNetto/project.lock.json
7373
test/ECoreNetto.Tests/project.lock.json
7474

7575
/.arcconfig
76+
77+
# Rider folder
78+
.idea

ECoreNetto.Extensions.Tests/ECoreNetto.Extensions.Tests.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">
22

33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<Company>Starion Group S.A.</Company>
66
<Authors>Sam Gerene</Authors>
77
<AssemblyName>ECoreNetto.Extensions.Tests</AssemblyName>

ECoreNetto.HandleBars.Tests/ECoreNetto.HandleBars.Tests.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">
22

33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<Company>Starion Group S.A.</Company>
66
<Authors>Sam Gerene</Authors>
77
<AssemblyName>ECoreNetto.HandleBars.Tests</AssemblyName>

ECoreNetto.Reporting.Tests/ECoreNetto.Reporting.Tests.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">
22

33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<IsPackable>false</IsPackable>
77
<Company>Starion Group S.A.</Company>

ECoreNetto.Tools.Tests/ECoreNetto.Tools.Tests.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">
22

33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<IsPackable>false</IsPackable>
77
<Company>Starion Group S.A.</Company>

ECoreNetto.Tools/ECoreNetto.Tools.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<LangVersion>10.0</LangVersion>
55
<Title>ECoreNetto.Tools</Title>
66
<Description>A command line application that processes an Ecore file and generates various reports.</Description>
7-
<TargetFramework>net9.0</TargetFramework>
7+
<TargetFramework>net10.0</TargetFramework>
88
<OutputType>Exe</OutputType>
99
<PackAsTool>true</PackAsTool>
1010
<PackageId>ECoreNetto.Tools</PackageId>

0 commit comments

Comments
 (0)