Skip to content

Commit

Permalink
Update caching and remove GPG
Browse files Browse the repository at this point in the history
  • Loading branch information
mijicd authored Jan 30, 2021
1 parent 908274d commit 7fc31f1
Showing 1 changed file with 3 additions and 26 deletions.
29 changes: 3 additions & 26 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,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

Expand All @@ -50,14 +43,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

Expand All @@ -73,16 +59,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:
Expand Down

0 comments on commit 7fc31f1

Please sign in to comment.