Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no auto format in CI #81

Merged
merged 1 commit into from
Jan 27, 2024
Merged

no auto format in CI #81

merged 1 commit into from
Jan 27, 2024

Conversation

windymelt
Copy link
Owner

@windymelt windymelt commented Jan 27, 2024

solves: #

前提 / Prerequisites

  • CIでscalafmtを自動的にかけるようにしていた

なぜこのPRが必要になったか / Why do we need this PR

  • botなどはpermissionなどの問題で実行できない。
  • このためCIがコケたりして実質的に意味がない

なにをやったか / What I did

  • CIでscalafmtかけるのをやめる
  • かわりにscalafmtCheckAllさせて失敗したらコケさせる
  • scalafmtは手元でやればよい

補足 / Supplementary information

@windymelt windymelt merged commit 5f8c027 into main Jan 27, 2024
2 checks passed
@windymelt windymelt deleted the scalafmt branch January 27, 2024 17:32
with:
commit_message: Apply scalafmt
- name: sbt scalafmtCheckAll
run: sbt scalafmtCheckAll
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

scalafmtAllだけだとbuild fileはformatされないので、それも追加した

  • scalafmtSbtCheckをしてない
  • 逆に普通のtestの方でcheckが残ってて意味なく(?)2回やってる

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants