Skip to content

Commit

Permalink
Update sbt to 1.9.8 (#117)
Browse files Browse the repository at this point in the history
- Move CI to coursier actions instead of deprecated setup-scala
- Do not run CI twice on pull requests
- Run on latest ubuntu version
  • Loading branch information
agilelab-tmnd1991 authored Feb 8, 2024
1 parent d989336 commit 894ae9c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 16 deletions.
26 changes: 11 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,24 @@
name: CI
on:
- push
- pull_request
push:
branches:
- master
pull_request: {}
jobs:
ci:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Cache SBT
uses: actions/cache@v2
- uses: coursier/cache-action@v6
- uses: coursier/setup-action@v1
with:
path: |
~/.ivy2/cache
~/.sbt
key: ${{ runner.os }}-sbt
- uses: olafurpg/setup-scala@v13
with:
java-version: graalvm-ce-java8@21.1.0
jvm: zulu:8.0.402
- uses: olafurpg/setup-gpg@v3
- run: ./make.sh
- run: ./publish.sh
- run: ./make.sh && ./publish.sh
env:
SBT_NATIVE_CLIENT: false
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
Expand Down
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version = 1.6.1
sbt.version = 1.9.8

0 comments on commit 894ae9c

Please sign in to comment.