Skip to content

sbt-wartremover 3.2.3 #583

sbt-wartremover 3.2.3

sbt-wartremover 3.2.3 #583

Workflow file for this run

name: Continuous integration
on:
push:
branches: ['**']
jobs:
lint-test-and-publish:
name: Unit test and publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: '0'
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '23'
cache: sbt
- name: Check linting and formatting
run: sbt 'scalafixAll --check' scalafmtSbtCheck scalafmtCheck
env:
GH_PACKAGES_TOKEN: ${{ secrets.GH_PACKAGES_TOKEN }}
- name: Unit test
run: sbt +test
env:
GH_PACKAGES_TOKEN: ${{ secrets.GH_PACKAGES_TOKEN }}
- name: Publish artifacts
run: sbt +publish
env:
GITHUB_TOKEN: ${{ secrets.WRITE_PACKAGES_TOKEN }}
GH_PACKAGES_TOKEN: ${{ secrets.GH_PACKAGES_TOKEN }}