Skip to content

Commit

Permalink
Use ciCheck instead of check in ci workflow (#663)
Browse files Browse the repository at this point in the history
* Use ciCheck instead of check in ci workflow

* Fix site workflow
  • Loading branch information
grouzen authored Mar 6, 2023
1 parent d0d5cf8 commit 519f828
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Cache scala dependencies
uses: coursier/cache-action@v6
- name: Lint code
run: ./sbt check
run: ./sbt ciCheck

website:
runs-on: ubuntu-20.04
Expand Down
7 changes: 3 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,9 @@ Global / onChangedBuildSource := ReloadOnSourceChanges
Global / testFrameworks := Seq(new TestFramework("zio.test.sbt.ZTestFramework"))

addCommandAlias("fmt", "all scalafmtSbt scalafmt test:scalafmt")
addCommandAlias(
"check",
"all scalafmtSbtCheck scalafmtCheck test:scalafmtCheck docs/checkReadme docs/checkGithubWorkflow"
)
addCommandAlias("check", "ciCheck;docsCheck")
addCommandAlias("ciCheck", "all scalafmtSbtCheck scalafmtCheck test:scalafmtCheck")
addCommandAlias("docsCheck", "docs/checkReadme;docs/checkGithubWorkflow")
addCommandAlias("compileExamples", "opentracingExample/compile;opentelemetryExample/compile")

lazy val root =
Expand Down

0 comments on commit 519f828

Please sign in to comment.