sort imports

This commit is contained in:
Mark Canlas 2022-12-05 09:14:58 -05:00
parent 037c292c64
commit 0cdc2fc7af
4 changed files with 6 additions and 5 deletions

View File

@ -53,4 +53,4 @@ jobs:
- name: Check that workflows are up to date - name: Check that workflows are up to date
run: sbt ++${{ matrix.scala }} githubWorkflowCheck run: sbt ++${{ matrix.scala }} githubWorkflowCheck
- run: sbt ++${{ matrix.scala }} scalafmtCheck test - run: sbt ++${{ matrix.scala }} 'scalafixAll --check' scalafmtCheck test

View File

@ -3,6 +3,7 @@ rules = [
] ]
OrganizeImports { OrganizeImports {
removeUnused = false
expandRelative = true expandRelative = true
groups = [ groups = [
"java", "java",

View File

@ -1,14 +1,14 @@
package com.htmlism.firepower.demo package com.htmlism.firepower.demo
import java.io.IOException
import scala.util.chaining._ import scala.util.chaining._
import cats.syntax.all._ import cats.syntax.all._
import zio.*
import com.htmlism.firepower.demo.asm._ import com.htmlism.firepower.demo.asm._
import com.htmlism.firepower.demo.str._ import com.htmlism.firepower.demo.str._
import zio.*
import java.io.IOException
import com.htmlism.rufio.withzio.* import com.htmlism.rufio.withzio.*
object PrintPrograms extends ZIOAppDefault: object PrintPrograms extends ZIOAppDefault:

View File

@ -17,7 +17,7 @@ object GitHubActionsSettings extends AutoPlugin {
GitHubActionsPlugin GitHubActionsPlugin
override val buildSettings: Seq[Setting[_]] = Seq( override val buildSettings: Seq[Setting[_]] = Seq(
githubWorkflowBuild := Seq(WorkflowStep.Sbt(List("scalafmtCheck", "test"))), githubWorkflowBuild := Seq(WorkflowStep.Sbt(List("scalafixAll --check", "scalafmtCheck", "test"))),
githubWorkflowEnv := Map("GH_PACKAGES_TOKEN" -> "${{ secrets.GH_PACKAGES_TOKEN }}"), githubWorkflowEnv := Map("GH_PACKAGES_TOKEN" -> "${{ secrets.GH_PACKAGES_TOKEN }}"),
githubWorkflowPublishTargetBranches := Nil, githubWorkflowPublishTargetBranches := Nil,
githubWorkflowIncludeClean := false githubWorkflowIncludeClean := false