File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 - name : Run tests
2323 run : |
2424 nix-shell --command "sbt -DSnippetsContainerTest.mongo=true cachedCiTest"
25+ formatting :
26+ runs-on : ubuntu-latest
27+ steps :
28+ - uses : actions/checkout@v4
29+ - uses : cachix/install-nix-action@v24
30+ with :
31+ nix_path : nixpkgs=channel:nixos-22.11
32+ - name : Check formatting
33+ run : |
34+ nix-shell --command "sbt scalafmtCheckAll"
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ open `http://localhost:9000`
6060
6161## Scalafmt
6262
63- Make sure to run ` bin/scalafmt ` to format your code.
63+ Make sure to run ` sbt scalafmtAll ` to format your code.
6464
6565You can install a pre-commit hook with ` bin/hooks.sh `
6666
Load diff This file was deleted.
Original file line number Diff line number Diff line change 1+ addSbtPlugin(" org.scalameta" % " sbt-scalafmt" % " 2.5.4" )
2+
13addSbtPlugin(" com.eed3si9n" % " sbt-assembly" % " 2.1.5" )
24addSbtPlugin(" com.github.sbt" % " sbt-native-packager" % " 1.9.16" )
35addSbtPlugin(" io.spray" % " sbt-revolver" % " 0.10.0" )
You can’t perform that action at this time.
0 commit comments