Skip to content

Merge pull request #10 from ucudal/h2-SpecialAttack #22

Merge pull request #10 from ucudal/h2-SpecialAttack

Merge pull request #10 from ucudal/h2-SpecialAttack #22

Triggered via push November 6, 2024 15:02
Status Failure
Total duration 34s
Artifacts

dotnet-core.yml

on: push
build-test-generate-docs
24s
build-test-generate-docs
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 12 warnings
build-test-generate-docs: src/Library/DamageCalculator.cs#L156
The property or indexer 'SpecialAttack.Cooldown' cannot be used in this context because the set accessor is inaccessible
build-test-generate-docs: src/Library/Pokeball.cs#L11
There is no argument given that corresponds to the required parameter 'pokemon' of 'Player.ChangeActivePokemon(Pokemon)'
build-test-generate-docs: src/Library/DamageCalculator.cs#L156
The property or indexer 'SpecialAttack.Cooldown' cannot be used in this context because the set accessor is inaccessible
build-test-generate-docs: src/Library/Pokeball.cs#L11
There is no argument given that corresponds to the required parameter 'pokemon' of 'Player.ChangeActivePokemon(Pokemon)'
build-test-generate-docs
Process completed with exit code 1.
build-test-generate-docs
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build-test-generate-docs
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build-test-generate-docs: src/Library/Game.cs#L37
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build-test-generate-docs: src/Library/WaitingList.cs#L31
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build-test-generate-docs: src/Library/WaitingList.cs#L45
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build-test-generate-docs: src/Library/WaitingList.cs#L24
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build-test-generate-docs: src/Library/Game.cs#L62
Unreachable code detected
build-test-generate-docs: src/Library/Player.cs#L7
Change 'List<Pokemon>' in 'Player.PokemonTeam' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002)
build-test-generate-docs: src/Library/Player.cs#L8
Change 'List<IItem>' in 'Player.Items' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002)
build-test-generate-docs: src/Library/Pokemon.cs#L6
Change 'List<IAttack>' in 'Pokemon.Attacks' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002)
build-test-generate-docs: src/Library/Pokemon.cs#L7
Change 'List<Type>' in 'Pokemon.Type' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002)
build-test-generate-docs: src/Library/PokemonCatalogue.cs#L6
Change 'List<Pokemon>' in 'PokemonCatalogue.PokemonList' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002)