Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
CI の linter を datapack-linter(DHP 3.4.19)から mcf-linter-spark v0.1.1 に替え、spark が master で出していた error 2 件と warning 1 件を直した。どの修正もゲームの動作は変えない。
主な変更
CI の付け替えとナレッジの更新、spark の診断を消す修正 2 つを入れた。
lintで検査を続けるよう、workflow の lint の step をmcf-linter-spark checkに替えたactions/cacheで残すdocs/knowledge/runtime-and-tools.mdの linter の記述を直した1.triggerの@withinを tag の ID に合わせたteleport_durationを 60 から 59 にした(ゲームは 59 に丸めるので動きは同じ)設計判断
spark の入れ方と、lint の設定の扱いを決めた。
cargo install --gitで EllaCoat/mcf-linter-spark の tagv0.1.1を入れる.vscode/settings.jsonのdatapack.lint.*を DHP と同じ意味で読むので、設定は変えていない動作確認
手元の検査と、この branch の push の CI が通った。
v0.1.1で入れた spark で、この branch の push のlint通過(spark のビルド 33 秒、検査 1 秒)未対応・注意
merge の前に要る作業は無い。merge の後は検査の範囲が pack 全体に変わる。
lintにも出る