Delete useless files from barstools merge
This commit is contained in:
44
.github/workflows/run-ci.yml
vendored
44
.github/workflows/run-ci.yml
vendored
@@ -1,44 +0,0 @@
|
|||||||
name: Test
|
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
test:
|
|
||||||
name: Unit Tests
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
scala: [ 2.12.14 ]
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
- name: Setup Scala
|
|
||||||
uses: olafurpg/setup-scala@v10
|
|
||||||
- name: Cache
|
|
||||||
uses: coursier/cache-action@v5
|
|
||||||
- name: Get submodules
|
|
||||||
run: git submodule update --init
|
|
||||||
- name: Test
|
|
||||||
run: sbt test
|
|
||||||
|
|
||||||
doc:
|
|
||||||
name: Documentation and formatting
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
- name: Setup Scala
|
|
||||||
uses: olafurpg/setup-scala@v10
|
|
||||||
- name: Check Formatting
|
|
||||||
run: sbt scalafmtCheckAll
|
|
||||||
|
|
||||||
all_test_passed:
|
|
||||||
name: "all tests passed"
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
needs: [test, doc]
|
|
||||||
steps:
|
|
||||||
- run: echo Success
|
|
||||||
@@ -1,27 +0,0 @@
|
|||||||
version = 2.7.5
|
|
||||||
|
|
||||||
maxColumn = 120
|
|
||||||
align = most
|
|
||||||
continuationIndent.defnSite = 2
|
|
||||||
assumeStandardLibraryStripMargin = true
|
|
||||||
docstrings = ScalaDoc
|
|
||||||
lineEndings = preserve
|
|
||||||
includeCurlyBraceInSelectChains = false
|
|
||||||
danglingParentheses.defnSite = true
|
|
||||||
danglingParentheses.callSite = true
|
|
||||||
|
|
||||||
align.tokens.add = [
|
|
||||||
{
|
|
||||||
code = ":"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
||||||
newlines.alwaysBeforeCurlyBraceLambdaParams = false
|
|
||||||
newlines.alwaysBeforeMultilineDef = false
|
|
||||||
newlines.implicitParamListModifierForce = [before]
|
|
||||||
|
|
||||||
verticalMultiline.atDefnSite = true
|
|
||||||
|
|
||||||
optIn.annotationNewlines = true
|
|
||||||
|
|
||||||
rewrite.rules = [SortImports, PreferCurlyFors, AvoidInfix]
|
|
||||||
Reference in New Issue
Block a user