Repository navigation
migrate publish workflow to .net10 #175
Annotations
24 warnings
|
build, pack & publish
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v2, actions/setup-dotnet@v4, alirezanet/publish-nuget@v3.0.4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
build, pack & publish:
src/CocApi.Cache/Context/CachedItems/CachedClanWar.cs#L31
Dereference of a possibly null reference.
|
|
build, pack & publish:
src/CocApi.Cache/Context/CachedItems/CachedWar.cs#L76
Dereference of a possibly null reference.
|
|
build, pack & publish:
src/CocApi.Cache/Context/CachedItems/CachedClanWarLeagueGroup.cs#L18
The type 'CocApi.Rest.Models.ClanWarLeagueGroup?' cannot be used as type parameter 'T' in the generic type or method 'TimeToLiveProvider.TimeToLiveOrDefaultAsync<T>(IOk<T>)'. Nullability of type argument 'CocApi.Rest.Models.ClanWarLeagueGroup?' doesn't match 'class' constraint.
|
|
build, pack & publish:
src/CocApi.Cache/Clients/PlayersClient.cs#L89
Converting null literal or possible null value to non-nullable type.
|
|
build, pack & publish:
src/CocApi.Cache/Context/CachedItems/CachedClanWar.cs#L19
Argument of type 'IOk<ClanWar?>' cannot be used for parameter 'apiResponse' of type 'IOk<ClanWar>' in 'CachedClanWar.CachedClanWar(string tag, IOk<ClanWar> apiResponse, TimeSpan localExpiration)' due to differences in the nullability of reference types.
|
|
build, pack & publish:
src/CocApi.Cache/Context/CachedItems/CachedClanWar.cs#L19
The type 'CocApi.Rest.Models.ClanWar?' cannot be used as type parameter 'T' in the generic type or method 'TimeToLiveProvider.TimeToLiveOrDefaultAsync<T>(IOk<T>)'. Nullability of type argument 'CocApi.Rest.Models.ClanWar?' doesn't match 'class' constraint.
|
|
build, pack & publish:
src/CocApi.Cache/Context/CachedItems/CachedClan.cs#L19
Argument of type 'IOk<Clan?>' cannot be used for parameter 'response' of type 'IOk<Clan>' in 'CachedClan.CachedClan(string tag, IOk<Clan> response, TimeSpan localExpiration)' due to differences in the nullability of reference types.
|
|
build, pack & publish:
src/CocApi.Cache/Context/CachedItems/CachedClan.cs#L19
The type 'CocApi.Rest.Models.Clan?' cannot be used as type parameter 'T' in the generic type or method 'TimeToLiveProvider.TimeToLiveOrDefaultAsync<T>(IOk<T>)'. Nullability of type argument 'CocApi.Rest.Models.Clan?' doesn't match 'class' constraint.
|
|
build, pack & publish:
src/CocApi.Cache/Context/CachedItems/CachedWar.cs#L27
Argument of type 'IFetchClanWarLeagueWarApiResponse' cannot be used for parameter 'apiResponse' of type 'IOk<ClanWar>' in 'CachedWar.CachedWar(IOk<ClanWar> apiResponse, TimeSpan localExpiration, string warTag, DateTime season)' due to differences in the nullability of reference types.
|
|
build, pack & publish:
src/CocApi.Cache/Context/CachedItems/CachedWar.cs#L22
The type 'CocApi.Rest.Models.ClanWar?' cannot be used as type parameter 'T' in the generic type or method 'TimeToLiveProvider.TimeToLiveOrDefaultAsync<T>(IOk<T>)'. Nullability of type argument 'CocApi.Rest.Models.ClanWar?' doesn't match 'class' constraint.
|
|
build, pack & publish:
src/CocApi.Rest/Models/ClanWarAttack.cs#L42
Non-nullable property 'AttackerClanTag' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
|
build, pack & publish:
src/CocApi.Rest/Models/LoginCredentials.Manual.cs#L34
Non-nullable property 'Password' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
|
build, pack & publish:
src/CocApi.Rest/Models/LoginCredentials.Manual.cs#L34
Non-nullable property 'Email' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
|
build, pack & publish:
src/CocApi.Rest/Apis/ClansApi.Manual.cs#L107
Parameter 'url' has no matching param tag in the XML comment for 'ClansApi.LogAfterFetch(IApiResponse, string, bool)' (but other parameters do)
|
|
build, pack & publish:
src/CocApi.Rest/Apis/ClansApi.Manual.cs#L107
Parameter 'apiResponse' has no matching param tag in the XML comment for 'ClansApi.LogAfterFetch(IApiResponse, string, bool)' (but other parameters do)
|
|
build, pack & publish:
src/CocApi.Rest/Models/Clan.cs#L778
Possible null reference argument for parameter 'members' in 'Clan.Clan(BadgeUrls badgeUrls, CapitalLeague capitalLeague, int clanBuilderBasePoints, ClanCapital clanCapital, int clanLevel, int clanPoints, string description, bool isFamilyFriendly, bool isWarLogPublic, List<Label> labels, List<ClanMember> members, string name, int requiredBuilderBaseTrophies, int requiredTrophies, string tag, WarLeague warLeague, int warWinStreak, int warWins, Option<Language?> chatLanguage = default(Option<Language?>), Option<Location?> location = default(Option<Location?>), Option<RecruitingType?> type = default(Option<RecruitingType?>), Option<WarFrequency?> warFrequency = default(Option<WarFrequency?>), Option<int?> warLosses = default(Option<int?>), Option<int?> warTies = default(Option<int?>))'.
|
|
build, pack & publish:
src/CocApi.Rest/Models/ClanWarAttack.cs#L42
Non-nullable property 'DefenderClanTag' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
|
build, pack & publish:
src/CocApi.Rest/Models/ClanWarAttack.cs#L42
Non-nullable property 'AttackerClanTag' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
|
build, pack & publish:
src/CocApi.Rest/Models/LoginCredentials.Manual.cs#L34
Non-nullable property 'Password' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
|
build, pack & publish:
src/CocApi.Rest/Models/LoginCredentials.Manual.cs#L34
Non-nullable property 'Email' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
|
build, pack & publish
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
build, pack & publish
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
build, pack & publish
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|