Skip to content

Fix game version parsing (#30) #244

Fix game version parsing (#30)

Fix game version parsing (#30) #244

Triggered via push August 15, 2024 19:38
Status Failure
Total duration 1m 29s
Artifacts

main.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 6 warnings
Build Linux: BeatSaberModManager/Services/Implementations/BeatSaber/BeatMods/BeatModsModInstaller.cs#L22
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Build Linux: BeatSaberModManager/Services/Implementations/BeatSaber/BeatMods/BeatModsModInstaller.cs#L21
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Build Linux: BeatSaberModManager/Services/Implementations/BeatSaber/BeatMods/BeatModsModProvider.cs#L23
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Build Linux: BeatSaberModManager/Services/Implementations/BeatSaber/BeatSaver/BeatSaverMapInstaller.cs#L152
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Build Linux: BeatSaberModManager/Views/Localization/LocalizationManager.cs#L81
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Build Linux: BeatSaberModManager/Models/Implementations/Progress/ProgressInfo.cs#L31
Use block body for method (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0022)
Build Linux: BeatSaberModManager/Models/Implementations/Settings/AppSettings.cs#L50
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
Build Linux: BeatSaberModManager/Models/Implementations/Progress/ProgressInfo.cs#L34
Use block body for method (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0022)
Build Linux: BeatSaberModManager/Models/Implementations/Progress/ProgressInfo.cs#L42
Use block body for operator (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0024)
Build Linux: BeatSaberModManager/Models/Implementations/Progress/ProgressInfo.cs#L50
Use block body for operator (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0024)
Build Windows: BeatSaberModManager/Services/Implementations/BeatSaber/BeatMods/BeatModsModInstaller.cs#L21
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Build Windows: BeatSaberModManager/Services/Implementations/BeatSaber/BeatMods/BeatModsModInstaller.cs#L22
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Build Windows: BeatSaberModManager/Services/Implementations/BeatSaber/BeatMods/BeatModsModProvider.cs#L23
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Build Windows: BeatSaberModManager/Services/Implementations/BeatSaber/BeatSaver/BeatSaverMapInstaller.cs#L152
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Build Windows: BeatSaberModManager/Views/Localization/LocalizationManager.cs#L81
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
Build Windows: BeatSaberModManager/Models/Implementations/Progress/ProgressInfo.cs#L31
Use block body for method (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0022)
Build Windows: BeatSaberModManager/Models/Implementations/Settings/AppSettings.cs#L50
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
Build Windows: BeatSaberModManager/Models/Implementations/Progress/ProgressInfo.cs#L34
Use block body for method (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0022)
Build Windows: BeatSaberModManager/Models/Implementations/Progress/ProgressInfo.cs#L42
Use block body for operator (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0024)
Build Windows: BeatSaberModManager/Models/Implementations/Progress/ProgressInfo.cs#L50
Use block body for operator (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0024)
Build Linux
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build Linux: BSIPA-Linux/src/Program.cs#L103
'System.Reflection.Assembly.Location' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'.
Build Linux: BSIPA-Linux/src/Program.cs#L92
Using member 'System.Reflection.Assembly.LoadFile(String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types and members the loaded assembly depends on might be removed.
Build Windows
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build Windows: BSIPA-Linux/src/Program.cs#L103
'System.Reflection.Assembly.Location' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'.
Build Windows: BSIPA-Linux/src/Program.cs#L92
Using member 'System.Reflection.Assembly.LoadFile(String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types and members the loaded assembly depends on might be removed.