Skip to content

Commit 216a309

Browse files
authored
add .net 8 target
* Complete .net8 upgrade * update actions * attempt to fix gh actions * Update the license for the forked project for (hopefully) temporarily pushing to NuGet.
1 parent 7975673 commit 216a309

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+847
-3055
lines changed

.github/CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
5555
## Enforcement
5656

5757
Instances of abusive, harassing, or otherwise unacceptable behaviour may be
58-
reported by contacting [Muhammad Rehan Saeed](https://github.com/RehanSaeed). All
58+
reported by contacting [Timmy Christensen](https://github.com/TimmyMC). All
5959
complaints will be reviewed and investigated and will result in a response that
6060
is deemed necessary and appropriate to the circumstances. The project team is
6161
obligated to maintain confidentiality with regard to the reporter of an incident.

.github/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
If you want to make a small change, go ahead and raise a pull request, otherwise follow these steps:
66

7-
1. View the [Issues](https://github.com/RehanSaeed/Schema.NET/issues) page to see a To-Do list of things to be implemented.
7+
1. View the [Issues](https://github.com/TimmyMC/Schema.NET/issues) page to see a To-Do list of things to be implemented.
88
2. Raise an issue or comment on an existing issue with what you want to contribute if one does not already exist.
99
3. When you get the go ahead, follow the coding guidelines and raise a pull request.
1010
4. Include a link to the issue in your pull request.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
Thank you good citizen for your hard work!
33
44
Please read the contributing guide before raising a pull request.
5-
https://github.com/RehanSaeed/Schema.NET/blob/main/.github/CONTRIBUTING.md
5+
https://github.com/TimmyMC/Schema.NET/blob/main/.github/CONTRIBUTING.md
66
-->

.github/SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ This project supports only the latest version with security updates. However, we
66

77
## Reporting a Vulnerability
88

9-
Contact [Muhammad Rehan Saeed](https://github.com/RehanSaeed) to report a security vulnerability. You will be thanked!
9+
Contact [Timmy Christensen](https://github.com/TimmyMC) to report a security vulnerability. You will be thanked!

.github/workflows/build.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,12 @@ jobs:
2929
os: [ubuntu-latest, windows-latest, macOS-latest]
3030
steps:
3131
- name: "Checkout"
32-
uses: actions/checkout@v4.2.2
32+
uses: actions/checkout@v5.0.1
3333
with:
3434
lfs: true
3535
fetch-depth: 0
36-
- name: "Install .NET 6.0 SDK"
37-
uses: actions/setup-dotnet@v4.2.0
38-
with:
39-
dotnet-version: 6.0.x
4036
- name: "Install .NET 8.0 SDK"
41-
uses: actions/setup-dotnet@v4.2.0
37+
uses: actions/setup-dotnet@v5.0.0
4238
with:
4339
dotnet-version: 8.0.x
4440
- name: "Dotnet Tool Restore"
@@ -54,7 +50,7 @@ jobs:
5450
run: dotnet cake --target=Pack
5551
shell: pwsh
5652
- name: "Publish Artefacts"
57-
uses: actions/upload-artifact@v3.1.3
53+
uses: actions/upload-artifact@v5.0.0
5854
if: always()
5955
with:
6056
name: ${{matrix.os}}
@@ -70,7 +66,7 @@ jobs:
7066
runs-on: ubuntu-latest
7167
steps:
7268
- name: "Download Artefact"
73-
uses: actions/download-artifact@v3.0.2
69+
uses: actions/download-artifact@v6.0.0
7470
with:
7571
path: "./Artefacts"
7672
- name: "Publish Test Summary"
@@ -85,17 +81,17 @@ jobs:
8581
if: github.ref == 'refs/heads/main' || github.event_name == 'release'
8682
environment:
8783
name: "GitHub Packages"
88-
url: https://github.com/RehanSaeed/Schema.NET/packages
84+
url: https://github.com/TimmyMC/Schema.NET/packages
8985
permissions:
9086
packages: write
9187
runs-on: windows-latest
9288
steps:
9389
- name: "Download Artefact"
94-
uses: actions/download-artifact@v3.0.2
90+
uses: actions/download-artifact@v6.0.0
9591
with:
9692
name: "windows-latest"
9793
- name: "Dotnet NuGet Add Source"
98-
run: dotnet nuget add source https://nuget.pkg.github.com/RehanSaeed/index.json --name GitHub --username RehanSaeed --password ${{secrets.GITHUB_TOKEN}}
94+
run: dotnet nuget add source https://nuget.pkg.github.com/TimmyMC/index.json --name GitHub --username TimmyMC --password ${{secrets.GITHUB_TOKEN}}
9995
shell: pwsh
10096
- name: "Dotnet NuGet Push"
10197
run: dotnet nuget push .\*.nupkg --api-key ${{ github.token }} --source GitHub --skip-duplicate
@@ -111,7 +107,7 @@ jobs:
111107
runs-on: windows-latest
112108
steps:
113109
- name: "Download Artefact"
114-
uses: actions/download-artifact@v3.0.2
110+
uses: actions/download-artifact@v6.0.0
115111
with:
116112
name: "windows-latest"
117113
- name: "Dotnet NuGet Push"

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ jobs:
3434

3535
steps:
3636
- name: Checkout repository
37-
uses: actions/checkout@v4.2.2
37+
uses: actions/checkout@v5.0.1
3838

3939
# Initializes the CodeQL tools for scanning.
4040
- name: Initialize CodeQL
41-
uses: github/codeql-action/init@v2
41+
uses: github/codeql-action/init@v4
4242
with:
4343
languages: ${{ matrix.language }}
4444
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -49,7 +49,7 @@ jobs:
4949
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5050
# If this step fails, then you should remove it and run the build manually (see below)
5151
- name: Autobuild
52-
uses: github/codeql-action/autobuild@v2
52+
uses: github/codeql-action/autobuild@v4
5353

5454
# ℹ️ Command-line programs to run using the OS shell.
5555
# 📚 https://git.io/JvXDl
@@ -63,4 +63,4 @@ jobs:
6363
# make release
6464

6565
- name: Perform CodeQL Analysis
66-
uses: github/codeql-action/analyze@v2
66+
uses: github/codeql-action/analyze@v4

.github/workflows/release-drafter.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
branches:
66
- main
7-
pull_request_target:
7+
pull_request:
88
types:
99
- edited
1010
- opened
@@ -20,6 +20,6 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- name: "Draft Release"
23-
uses: release-drafter/release-drafter@v5.24.0
23+
uses: release-drafter/release-drafter@v6.1.0
2424
env:
2525
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Benchmarks/Schema.NET.Benchmarks/Schema.NET.Benchmarks.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup Label="Build">
44
<OutputType>Exe</OutputType>
5-
<TargetFrameworks>net8.0;net6.0;net462;net472;net48</TargetFrameworks>
5+
<TargetFrameworks>net8.0;net48</TargetFrameworks>
66
<IsPackable>false</IsPackable>
77
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
88
</PropertyGroup>
@@ -12,7 +12,7 @@
1212
</ItemGroup>
1313

1414
<ItemGroup Label="Package References">
15-
<PackageReference Include="BenchmarkDotNet" Version="0.13.12" />
15+
<PackageReference Include="BenchmarkDotNet" Version="0.15.6" />
1616
</ItemGroup>
1717

1818
</Project>

Benchmarks/Schema.NET.Benchmarks/SchemaBenchmarkBase.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ namespace Schema.NET.Benchmarks;
1313
[CsvMeasurementsExporter]
1414
[RPlotExporter]
1515
[SimpleJob(RuntimeMoniker.Net80)]
16-
[SimpleJob(RuntimeMoniker.Net60)]
17-
[SimpleJob(RuntimeMoniker.Net462)]
18-
[SimpleJob(RuntimeMoniker.Net472)]
1916
[SimpleJob(RuntimeMoniker.Net48)]
2017
public abstract class SchemaBenchmarkBase
2118
{

0 commit comments

Comments
 (0)