Skip to content

Commit

Permalink
upgrade ci plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning committed Oct 7, 2023
1 parent 1d2691d commit d2e8685
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
timeout-minutes: 60
steps:
- name: Checkout current branch (full)
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -49,7 +49,7 @@ jobs:

- name: sbt update
if: matrix.java == 'zulu@8' && steps.setup-java-zulu-8.outputs.cache-hit == 'false'
run: sbt -J-Xmx2G '++ ${{ matrix.scala }}' reload +update
run: sbt -J-Xmx2G +update

- name: Setup Java (zulu@11)
id: setup-java-zulu-11
Expand All @@ -62,7 +62,7 @@ jobs:

- name: sbt update
if: matrix.java == 'zulu@11' && steps.setup-java-zulu-11.outputs.cache-hit == 'false'
run: sbt -J-Xmx2G '++ ${{ matrix.scala }}' reload +update
run: sbt -J-Xmx2G +update

- name: Setup Java (zulu@17)
id: setup-java-zulu-17
Expand All @@ -75,7 +75,7 @@ jobs:

- name: sbt update
if: matrix.java == 'zulu@17' && steps.setup-java-zulu-17.outputs.cache-hit == 'false'
run: sbt -J-Xmx2G '++ ${{ matrix.scala }}' reload +update
run: sbt -J-Xmx2G +update

- name: Check that workflows are up to date
run: sbt -J-Xmx2G githubWorkflowCheck
Expand Down Expand Up @@ -104,12 +104,11 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
scala: [2.13.10]
java: [zulu@8]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout current branch (full)
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -124,7 +123,7 @@ jobs:

- name: sbt update
if: matrix.java == 'zulu@8' && steps.setup-java-zulu-8.outputs.cache-hit == 'false'
run: sbt -J-Xmx2G '++ ${{ matrix.scala }}' reload +update
run: sbt -J-Xmx2G +update

- name: Setup Java (zulu@11)
id: setup-java-zulu-11
Expand All @@ -137,7 +136,7 @@ jobs:

- name: sbt update
if: matrix.java == 'zulu@11' && steps.setup-java-zulu-11.outputs.cache-hit == 'false'
run: sbt -J-Xmx2G '++ ${{ matrix.scala }}' reload +update
run: sbt -J-Xmx2G +update

- name: Setup Java (zulu@17)
id: setup-java-zulu-17
Expand All @@ -150,7 +149,7 @@ jobs:

- name: sbt update
if: matrix.java == 'zulu@17' && steps.setup-java-zulu-17.outputs.cache-hit == 'false'
run: sbt -J-Xmx2G '++ ${{ matrix.scala }}' reload +update
run: sbt -J-Xmx2G +update

- name: Download target directories (2.11)
uses: actions/download-artifact@v3
Expand Down Expand Up @@ -198,4 +197,4 @@ jobs:
SONATYPE_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.CI_DEPLOY_USERNAME }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
run: sbt -J-Xmx2G '++ ${{ matrix.scala }}' ci-release
run: sbt -J-Xmx2G ci-release
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.8.2
sbt.version=1.9.6
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ addSbtPlugin("com.typesafe.sbt" % "sbt-ghpages" % "0.6.3")

addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "1.1.1")

addSbtPlugin("org.typelevel" % "sbt-typelevel-sonatype-ci-release" % "0.5.0-M9")
addSbtPlugin("org.typelevel" % "sbt-typelevel-sonatype-ci-release" % "0.5.4")

addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.10")

Expand Down

0 comments on commit d2e8685

Please sign in to comment.