Skip to content

Commit 35f8321

Browse files
authored
Merge pull request #116 from codemonkey85/dev
Update setup-dotnet action to v5.1.0 in workflows
2 parents 5c80581 + 14ec7c4 commit 35f8321

9 files changed

Lines changed: 27 additions & 25 deletions

File tree

.editorconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ dotnet_sort_system_directives_first = false
2323
file_header_template = # this. and Me. preferences
2424

2525

26+
2627
dotnet_style_qualification_for_event = false:suggestion
2728
dotnet_style_qualification_for_field = false:suggestion
2829
dotnet_style_qualification_for_method = false:suggestion

.github/workflows/buildandtest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828

2929
# sets up .NET SDK
3030
- name: Setup .NET
31-
uses: actions/setup-dotnet@v5.0.1
31+
uses: actions/setup-dotnet@v5.1.0
3232
with:
3333
global-json-file: ./global.json
3434

.github/workflows/main_aboutcodemonkey85.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
# sets up .NET SDK
2727
- name: Setup .NET
28-
uses: actions/setup-dotnet@v5.0.1
28+
uses: actions/setup-dotnet@v5.1.0
2929
with:
3030
global-json-file: ./global.json
3131

AboutMe/Wasm/AboutMe.Wasm.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
</PropertyGroup>
1313

1414
<ItemGroup>
15-
<PackageReference Include="Humanizer" Version="3.0.1" />
16-
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="10.0.2" />
17-
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="10.0.2" PrivateAssets="all" />
18-
<PackageReference Include="MudBlazor" Version="8.15.0" />
15+
<PackageReference Include="Humanizer" Version="3.0.1"/>
16+
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="10.0.2"/>
17+
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="10.0.2" PrivateAssets="all"/>
18+
<PackageReference Include="MudBlazor" Version="8.15.0"/>
1919
</ItemGroup>
2020

2121
</Project>

AboutMe/Wasm/Pages/Blog.razor

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
@page "/Blog"
22

3+
<!--suppress CssUnresolvedCustomProperty -->
34
<PageTitle>
45
@Constants.SiteName - Blog
56
</PageTitle>

AboutMe/Wasm/Pages/Blog.razor.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ protected override async Task OnInitializedAsync()
4444
protected override async Task OnAfterRenderAsync(bool firstRender)
4545
{
4646
await base.OnAfterRenderAsync(firstRender);
47-
47+
4848
if (!IsLoading && Posts.Count > 0)
4949
{
50-
await jsRuntime.InvokeVoidAsync("eval",
50+
await jsRuntime.InvokeVoidAsync("eval",
5151
"document.querySelectorAll('.content-wrapper a').forEach(a => { a.target = '_blank'; a.rel = 'noopener noreferrer'; });");
5252
}
5353
}

AboutMe/Wasm/Pages/Projects.razor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@
3838
}
3939
</MudStack>
4040
</MudCardHeader>
41-
@if (project.Screenshots is { Count: > 0 })
41+
@if (project.Thumbnails is { Count: > 0 })
4242
{
4343
<MudCarousel Context="productImage"
44-
ItemsSource="@project.Screenshots">
44+
ItemsSource="@project.Thumbnails">
4545
<ItemTemplate>
4646
<MudCardMedia Image="@productImage.Url"
4747
Title="@productImage.Title"/>

AboutMe/Wasm/Pages/Projects.razor.cs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,63 +14,63 @@ public partial class Projects
1414
Description = "A port of PKHeX for web, built wih Blazor",
1515
Url = "https://www.pkmds.app/",
1616
GitHubUrl = $"{Constants.MyGitHubBaseUrl}/PKMDS-Blazor",
17-
Screenshots = []
17+
Thumbnails = []
1818
}, // PKMDS for Web
1919
new()
2020
{
2121
Name = "Sound Test",
2222
Description = "Messing around with the JavaScript tone APIs in Blazor",
2323
Url = $"{GitHubPagesBaseUrl}/SoundTest/",
2424
GitHubUrl = $"{Constants.MyGitHubBaseUrl}/SoundTest",
25-
Screenshots = []
25+
Thumbnails = []
2626
}, // Sound Test
2727
new()
2828
{
2929
Name = "Tic Tac Toe Blazor",
3030
Description = "A Tic Tac Toe game for web, built with Blazor",
3131
Url = $"{GitHubPagesBaseUrl}/TicTacToeBlazor/",
3232
GitHubUrl = $"{Constants.MyGitHubBaseUrl}/TicTacToeBlazor",
33-
Screenshots = []
33+
Thumbnails = []
3434
}, // Tic Tac Toe Blazor
3535
new()
3636
{
3737
Name = "Four Is The Magic Number!",
3838
Description = "A neat party trick, built with Blazor",
3939
Url = $"{GitHubPagesBaseUrl}/FourMagicNumberGame/",
4040
GitHubUrl = $"{Constants.MyGitHubBaseUrl}/FourMagicNumberGame",
41-
Screenshots = []
41+
Thumbnails = []
4242
}, // Four Is The Magic Number!
4343
new()
4444
{
4545
Name = "Barcode Helper",
4646
Description = "Solve the missing digit in a UPC-12, built with Blazor",
4747
Url = $"{GitHubPagesBaseUrl}/BarcodeHelper/",
4848
GitHubUrl = $"{Constants.MyGitHubBaseUrl}/BarcodeHelper",
49-
Screenshots = []
49+
Thumbnails = []
5050
}, // Barcode Helper
5151
new()
5252
{
5353
Name = "Tired Doctor Manhattan",
5454
Description = "Doctor Manhattan is tired of stuff, built with Blazor",
5555
Url = $"{GitHubPagesBaseUrl}/TiredDoctorManhattan/",
5656
GitHubUrl = $"{Constants.MyGitHubBaseUrl}/TiredDoctorManhattan",
57-
Screenshots = []
57+
Thumbnails = []
5858
}, // Tired Doctor Manhattan
5959
new()
6060
{
6161
Name = "Minecraft Command Builder",
6262
Description = "A tool to help build Minecraft commands, built with Blazor",
6363
Url = $"{GitHubPagesBaseUrl}/MinecraftCommandBuilder/",
6464
GitHubUrl = $"{Constants.MyGitHubBaseUrl}/MinecraftCommandBuilder",
65-
Screenshots = []
65+
Thumbnails = []
6666
}, // Minecraft Command Builder
6767
new()
6868
{
6969
Name = "D&D Critical Hit Calculator",
7070
Description = "Honestly, this is just for me and my D&D friends.",
7171
Url = $"{GitHubPagesBaseUrl}/DnDCritCalculator/",
7272
GitHubUrl = $"{Constants.MyGitHubBaseUrl}/DnDCritCalculator",
73-
Screenshots = []
73+
Thumbnails = []
7474
} // D&D Critical Hit Calculator
7575
];
7676

@@ -85,11 +85,11 @@ private readonly record struct Project
8585
public string? GitHubUrl { get; init; }
8686

8787
// ReSharper disable once CollectionNeverUpdated.Local
88-
public List<ProductImage> Screenshots { get; init; }
88+
public List<ProjectThumbnails> Thumbnails { get; init; }
8989
}
9090

9191
[SuppressMessage("ReSharper", "UnusedAutoPropertyAccessor.Local")]
92-
private readonly record struct ProductImage
92+
private readonly record struct ProjectThumbnails
9393
{
9494
public required string Url { get; init; }
9595

aboutme.slnx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Solution>
2-
<Folder Name="/Solution Items/">
3-
<File Path=".editorconfig" />
4-
<File Path="global.json" />
5-
</Folder>
6-
<Project Path="AboutMe/Wasm/AboutMe.Wasm.csproj" />
2+
<Folder Name="/Solution Items/">
3+
<File Path=".editorconfig"/>
4+
<File Path="global.json"/>
5+
</Folder>
6+
<Project Path="AboutMe/Wasm/AboutMe.Wasm.csproj"/>
77
</Solution>

0 commit comments

Comments
 (0)