Skip to content

修复一个错误的修改 #641

修复一个错误的修改

修复一个错误的修改 #641

Triggered via push January 1, 2025 03:31
Status Success
Total duration 54s
Artifacts 2

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build: COG/Config/Impl/LanguageConfig.cs#L19
Non-nullable property 'RepairAction' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: COG/Config/Impl/LanguageConfig.cs#L28
Non-nullable property 'RepairAction' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: COG/Constant/ButtonConstant.cs#L19
Dereference of a possibly null reference.
build: COG/Utils/ModUpdater.cs#L26
Unreachable code detected
build: COG/UI/CustomButton/CustomButton.cs#L160
Possible null reference argument for parameter 'hasButton' in 'CustomButton.CustomButton(Action onClick, Action onMeetingEnd, Action onEffect, Func<bool> couldUse, Func<bool> hasButton, Sprite sprite, Vector3? position, KeyCode? hotkey, string text, bool hasEffect, Func<float> cooldown, float effectTime, int usesLimit, string hotkeyName)'.
build: COG/UI/CustomGameObject/Arrow/Arrow.cs#L11
Non-nullable property 'Behaviour' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: COG/UI/CustomGameObject/Arrow/Arrow.cs#L11
Non-nullable property 'Renderer' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: COG/UI/CustomGameObject/Arrow/Arrow.cs#L11
Non-nullable property 'ArrowObject' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: COG/Patch/PlayerPatch.cs#L82
The field 'HostStartPatch._currentText' is assigned but its value is never used
build: COG/Config/Impl/LanguageConfig.cs#L19
Non-nullable property 'RepairAction' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.

Artifacts

Produced during runtime
Name Size
COG Artifact
2.79 MB
Objects
2.88 MB