Skip to content

Commit

Permalink
Merge pull request #52 from Afischbacher/develop
Browse files Browse the repository at this point in the history
v3.4.0
  • Loading branch information
Afischbacher authored Mar 8, 2024
2 parents dec00c7 + 7195c33 commit f160400
Show file tree
Hide file tree
Showing 36 changed files with 2,709 additions and 317 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -54,7 +54,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -68,4 +68,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v3
8 changes: 0 additions & 8 deletions .github/workflows/develop-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,6 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Setup .NET 6
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
- name: Setup .NET 7
uses: actions/setup-dotnet@v1
with:
dotnet-version: '7.0.x'
- name: Setup .NET 8
uses: actions/setup-dotnet@v1
with:
Expand Down
8 changes: 0 additions & 8 deletions .github/workflows/master-build-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,6 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Setup .NET 6
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
- name: Setup .NET 7
uses: actions/setup-dotnet@v1
with:
dotnet-version: '7.0.x'
- name: Setup .NET 8
uses: actions/setup-dotnet@v1
with:
Expand Down
8 changes: 0 additions & 8 deletions .github/workflows/master-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Setup .NET 6
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
- name: Setup .NET 7
uses: actions/setup-dotnet@v1
with:
dotnet-version: '7.0.x'
- name: Setup .NET 8
uses: actions/setup-dotnet@v1
with:
Expand Down
8 changes: 0 additions & 8 deletions .github/workflows/publish-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,6 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Setup .NET 7
uses: actions/setup-dotnet@v1
with:
dotnet-version: '7.0.x'
- name: Setup .NET 8
uses: actions/setup-dotnet@v1
with:
Expand Down
47 changes: 0 additions & 47 deletions Nhl.Api.Common/Http/NhlStatsApiHttpClient.cs

This file was deleted.

4 changes: 2 additions & 2 deletions Nhl.Api.Common/Nhl.Api.Common.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Version>3.3.0</Version>
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
<Version>3.4.0</Version>
<TargetFrameworks>net8.0</TargetFrameworks>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>

Expand Down
2 changes: 2 additions & 0 deletions Nhl.Api.Domain/Enumerations/Player/PlayerEnum.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
namespace Nhl.Api.Models.Enumerations.Player;

/// <summary>
/// The NHL player enumeration of all NHL players
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ public static async Task UpdatePlayerEnumToFile(string path)
}

using StreamWriter outputFile = new(Path.Combine(path, "InternalPlayerEnum.cs"));
outputFile.WriteLine($"namespace Nhl.Api.Models.Enumerations.Player;");
outputFile.WriteLine($"/// <summary>");
outputFile.WriteLine($"/// The NHL player enumeration of all NHL players");
outputFile.WriteLine($"/// </summary>");
Expand Down
Loading

0 comments on commit f160400

Please sign in to comment.