forked from zio/zio-sql
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
45 changed files
with
1,826 additions
and
1,062 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,11 @@ name: CI | |
|
||
on: | ||
pull_request: | ||
branches: ['*'] | ||
push: | ||
branches: ['master'] | ||
tags: ['v*'] | ||
release: | ||
types: | ||
- published | ||
|
||
jobs: | ||
lint: | ||
|
@@ -20,14 +21,7 @@ jobs: | |
- name: Setup Scala and Java | ||
uses: olafurpg/setup-scala@v10 | ||
- name: Cache scala dependencies | ||
uses: actions/cache@v2 | ||
with: | ||
path: | | ||
~/.ivy2/cache | ||
~/.sbt | ||
~/.m2 | ||
~/.cache | ||
key: sbt-cache-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }} | ||
uses: coursier/cache-action@v5 | ||
- name: Lint code | ||
run: sbt check | ||
|
||
|
@@ -37,7 +31,7 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
java: ['[email protected]', '[email protected]'] | ||
scala: ['2.12.12', '2.13.3'] | ||
scala: ['2.12.13', '2.13.5'] | ||
steps: | ||
- name: Checkout current branch | ||
uses: actions/[email protected] | ||
|
@@ -48,14 +42,7 @@ jobs: | |
with: | ||
java-version: ${{ matrix.java }} | ||
- name: Cache scala dependencies | ||
uses: actions/cache@v2 | ||
with: | ||
path: | | ||
~/.ivy2/cache | ||
~/.sbt | ||
~/.m2 | ||
~/.cache | ||
key: sbt-cache-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }} | ||
uses: coursier/cache-action@v5 | ||
- name: Run tests | ||
run: sbt ++${{ matrix.scala }}! test | ||
|
||
|
@@ -71,16 +58,7 @@ jobs: | |
- name: Setup Scala and Java | ||
uses: olafurpg/setup-scala@v10 | ||
- name: Cache scala dependencies | ||
uses: actions/cache@v2 | ||
with: | ||
path: | | ||
~/.ivy2/cache | ||
~/.sbt | ||
~/.m2 | ||
~/.cache | ||
key: sbt-cache-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }} | ||
- name: Setup GPG | ||
uses: olafurpg/setup-gpg@v3 | ||
uses: coursier/cache-action@v5 | ||
- name: Release artifacts | ||
run: sbt ci-release | ||
env: | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -409,6 +409,7 @@ project/plugins/project/ | |
metals.sbt | ||
.bloop/ | ||
project/secret | ||
null | ||
|
||
# mdoc | ||
website/node_modules | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.