Skip to content

Commit

Permalink
Merge branch 'main' into bump-3.3.2-3.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Gedochao authored Mar 4, 2024
2 parents 1811f24 + b3fea31 commit c301ae7
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,19 @@ on:
- main
- 2.x
pull_request:
branches:
- main
- 2.x

# cancel older runs of a pull request;
# this will not cancel anything for normal git pushes
concurrency:
group: cancel-old-pr-runs-${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
test:
strategy:
fail-fast: false
matrix:
java-version: [8, 11]
java-version: [8, 11, 17]
scala-binary-version: [2.12, 2.13, 3]
runs-on: ubuntu-latest
steps:
Expand Down
24 changes: 24 additions & 0 deletions .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Newer versions won't work with Java 8!
version = "3.7.15"

align.openParenCallSite = false
align.preset = none
align.stripMargin = true

assumeStandardLibraryStripMargin = true

continuationIndent.callSite = 2
continuationIndent.defnSite = 4

docstrings.oneline = keep
docstrings.style = Asterisk
docstrings.wrap = no

maxColumn = 100

newlines.source = keep

project.git = true

runner.dialect = scala213

0 comments on commit c301ae7

Please sign in to comment.