Skip to content

Add support for adjusting the localisation namespace #170

Add support for adjusting the localisation namespace

Add support for adjusting the localisation namespace #170

Triggered via pull request March 14, 2024 07:54
Status Failure
Total duration 3m 0s
Artifacts 3

ci.yml

on: pull_request
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 6 warnings
Test (Windows, windows-latest)
Process completed with exit code 1.
LocalisationAnalyser.Tests.CodeFixes.LocaliseClassStringCodeFixProviderTests ► Check(name: "LicenseHeader"): LocalisationAnalyser.Tests/Verifiers/CSharpCodeFixVerifier.cs#L68
Failed test found in: TestResults-Windows.trx Error: Context: Iterative code fix application content of 'C:\Localisation\ProgramStrings.cs' did not match. Diff shown with expected as baseline: // This is a custom license header // This is line 2 using osu.Framework.Localisation; namespace TestProject.Localisation { public static class ProgramStrings { private const string prefix = @"TestProject.Localisation.Program"; /// <summary> /// "abc" /// </summary> public static LocalisableString Abc => new TranslatableString(getKey(@"abc"), @"abc"); private static string getKey(string key) => $@"{prefix}:{key}"; } } Expected: True Actual: False
Test (Linux, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-dotnet@v1, actions/upload-artifact@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test (Linux, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (macOS, macos-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-dotnet@v1, actions/upload-artifact@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test (macOS, macos-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (Windows, windows-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-dotnet@v1, actions/upload-artifact@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test (Windows, windows-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/

Artifacts

Produced during runtime
Name Size
test-results-Linux Expired
69.7 KB
test-results-Windows Expired
77.5 KB
test-results-macOS Expired
70 KB