Copilot commented on code in PR #4411:
URL: https://github.com/apache/texera/pull/4411#discussion_r3104745383


##########
.github/workflows/github-action-build.yml:
##########
@@ -124,6 +124,8 @@ jobs:
           extraSbtFiles: '["*.sbt", "project/**.{scala,sbt}", 
"project/build.properties" ]'
       - name: Lint with scalafmt
         run: sbt scalafmtCheckAll
+      - name: Lint with scalafix
+        run: sbt "scalafixAll --check"

Review Comment:
   `scalafixAll` without an explicit configuration scope typically runs in the 
`Compile` configuration only. If the intent is to enforce unused-import cleanup 
across *all* Scala sources (including `src/test`), consider also running 
`Test/scalafixAll --check` (either as an additional step or in the same sbt 
invocation).
   ```suggestion
           run: sbt "scalafixAll --check" "Test/scalafixAll --check"
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to