Skip to content

Commit

Permalink
Move files and format (#5)
Browse files Browse the repository at this point in the history
* move files

* move and format
  • Loading branch information
mgyucht committed Aug 30, 2023
1 parent cb85674 commit 7f65600
Show file tree
Hide file tree
Showing 8 changed files with 358 additions and 366 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,14 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Cache mill
- name: Cache Maven packages
uses: actions/cache@v2
with:
path: .mill
key: ${{ runner.os }}-${{ hashFiles('.mill-version') }}
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2

- name: Run Mill Tests
run: ./millw dbutils.test.test
env:
MILL_DOWNLOAD_PATH: .mill
- name: Check formatting
run: mvn --errors spotless:check
21 changes: 13 additions & 8 deletions .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,24 +1,29 @@
version = "2.7.5"
version = "3.6.1"

runner.dialect = "scala212"

style = "IntelliJ" // Scala syntax style

maxColumn = 120 // Maximum line width

indentOperator.include = "^.*=$" // Regular expression of operator that should be indented

rewrite.rules = [SortImports, RedundantBraces, RedundantParens, SortModifiers]

newlines.alwaysBeforeTopLevelStatements = true
rewrite.rules = [SortImports, RedundantParens, SortModifiers]

newlines.alwaysBeforeElseAfterCurlyIf = false

danglingParentheses = true
danglingParentheses {
callSite = false
defnSite = false
}

align = most
align {
preset = most
openParenDefnSite = false
openParenCallSite = false
}

align.openParenDefnSite = false

align.openParenCallSite = false

optIn.configStyleArguments = false

Expand Down

0 comments on commit 7f65600

Please sign in to comment.