Skip to content

Add scalafmt workflow #1471

Add scalafmt workflow

Add scalafmt workflow #1471

Workflow file for this run

name: Build
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: coursier/setup-action@v1
- name: Starting up RabbitMQ
run: docker compose up -d
- name: Cache Coursier dependencies
uses: actions/cache@v4
with:
path: ~/.cache/coursier
key: ${{ runner.os }}-${{ github.ref }}-coursier
restore-keys: |
${{ runner.os }}-${{ github.ref }}-coursier
- name: Cache Ivy dependencies
uses: actions/cache@v4
with:
path: ~/.ivy2/cache
key: ${{ runner.os }}-${{ github.ref }}-ivy2
restore-keys: |
${{ runner.os }}-${{ github.ref }}-ivy2
- name: Tests
run: sbt -J-Xms4G -J-Xmx4G buildFs2Rabbit
- name: Shutting down RabbitMQ
run: docker compose down
migration-check:
runs-on: ubuntu-latest
needs: [build]
steps:
- uses: actions/checkout@v4
- uses: coursier/setup-action@v1
- name: Cache Coursier dependencies
uses: actions/cache@v4
with:
path: ~/.cache/coursier
key: ${{ runner.os }}-${{ github.ref }}-coursier
restore-keys: |
${{ runner.os }}-${{ github.ref }}-coursier
- name: Cache Ivy dependencies
uses: actions/cache@v4
with:
path: ~/.ivy2/cache
key: ${{ runner.os }}-${{ github.ref }}-ivy2
restore-keys: |
${{ runner.os }}-${{ github.ref }}-ivy2
- name: Tests
run: sbt -J-Xms4G -J-Xmx4G +mimaReportBinaryIssues