Update sbt, scripted-plugin to 1.10.6 #492
Workflow file for this run
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
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
pull_request: | |
release: | |
types: | |
- published | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install JDK 1.8 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 8 | |
distribution: temurin | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Run tests | |
run: sbt +test scripted | |
- name: Lint | |
run: sbt scalafmtCheckAll | |
- name: Release | |
if: ${{ github.event_name == 'release' }} | |
env: | |
CI_SNAPSHOT_RELEASE: "+publishSigned" | |
PGP_PASSPHRASE: ${{ secrets.PGP_PASSWORD }} | |
PGP_SECRET: ${{ secrets.PGP_SECRET }} | |
SONATYPE_USERNAME: soundcloud | |
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} | |
run: sbt ci-release |