Skip to content

Update sbt-scalafmt to 2.6.2 #189

Update sbt-scalafmt to 2.6.2

Update sbt-scalafmt to 2.6.2 #189

Workflow file for this run

name: Sonatype Release
on:
push:
branches: [ master ]
tags: [ '*' ]
jobs:
release-tag:
runs-on: ubuntu-latest
name: ${{ startsWith(github.ref, 'refs/tags/') && 'Publish Tag as Release' || 'Publish Snapshot' }}
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: coursier/cache-action@v8
- name: Import GPG key for signing the release
uses: crazy-max/ghaction-import-gpg@v7
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
- uses: coursier/setup-action@v3.0.0
with:
# Chimney 2.x targets -release 17 (Scala 3) / -release 11 (Scala 2.13) and its Scala 3.8 compiler
# bridge is compiled for Java 17, so publishing must run on JDK 17+ (the old JDK 8 fails with
# UnsupportedClassVersionError). The -release flags keep the emitted artifacts JDK 11/17 compatible.
jvm: 'temurin:17'
apps: sbt
- name: Publish all projects
run: sbt ci-release
env:
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}