Skip to content

Commit 0b9ebd6

Browse files
authored
Merge pull request #155 from cquiroz/2.0.0-RC4
2.0.0 rc4
2 parents dfd3c72 + 405fa67 commit 0b9ebd6

File tree

223 files changed

+15926
-7839
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

223 files changed

+15926
-7839
lines changed

.github/workflows/release.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Release
2+
on:
3+
push:
4+
branches: [master]
5+
tags: ["*"]
6+
jobs:
7+
publish:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v1
11+
- uses: olafurpg/setup-scala@v2
12+
- uses: olafurpg/setup-gpg@v2
13+
- name: Publish
14+
run: csbt ci-release
15+
env:
16+
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
17+
PGP_SECRET: ${{ secrets.PGP_SECRET }}
18+
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
19+
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}

.github/workflows/scala.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: build
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v1
11+
- name: Set up JDK 1.8
12+
uses: olafurpg/setup-scala@v2
13+
with:
14+
java-version: 1.8
15+
- name: Cache Coursier
16+
uses: actions/cache@v1
17+
with:
18+
path: ~/.cache/coursier
19+
key: sbt-coursier-cache
20+
- name: Cache SBT
21+
uses: actions/cache@v1
22+
with:
23+
path: ~/.sbt
24+
key: sbt-${{ hashFiles('**/build.sbt') }}
25+
- name: Checking your code format
26+
run: csbt scalafmtCheckAll
27+
- name: Run tests
28+
run: |
29+
csbt clean +scalajavatimeTestsJVM/test +scalajavatimeTestsJS/test

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,4 @@ tzdb/js/src/main/resources/
3838
.metaserver/
3939
.bloop/
4040
.metals/
41+
project/metals.sbt

.scalafmt.conf

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
version = "2.4.2"
2+
style = default
3+
4+
maxColumn = 100
5+
6+
// Vertical alignment is pretty, but leads to bigger diffs
7+
align = most
8+
9+
rewrite.rules = [
10+
AvoidInfix
11+
RedundantBraces
12+
RedundantParens
13+
AsciiSortImports
14+
PreferCurlyFors
15+
]
16+
17+
align.tokens.add = [{code = "=>", owner = "Case"}]
18+
align.tokens.add = [{code = ":", owner = "Term.Param"}, "=", "shouldBe", "<-", "^"]
19+
align.openParenCallSite = true
20+
spaces.inImportCurlyBraces = true
21+
22+
continuationIndent.defnSite = 2
23+
24+
rewrite.neverInfix.excludeFilters = [until
25+
to
26+
by
27+
eq
28+
ne
29+
"should.*"
30+
"contain.*"
31+
"must.*"
32+
in
33+
be
34+
taggedAs
35+
thrownBy
36+
synchronized
37+
have
38+
when
39+
size
40+
theSameElementsAs]

.travis.yml

Lines changed: 0 additions & 54 deletions
This file was deleted.

0 commit comments

Comments
 (0)