Skip to content

scala 3.5.1

scala 3.5.1 #577

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: '22'
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 }}