Skip to content

Release fix for 2.12 #100

Release fix for 2.12

Release fix for 2.12 #100

Workflow file for this run

name: PR Checks
on:
pull_request:
types: [opened, synchronize]
merge_group:
types: [checks_requested]
jobs:
fmt:
runs-on: ubuntu-latest
steps:
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: adopt
java-version: 8
- name: Checkout code
uses: actions/checkout@v3
- name: Cache Maven packages
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Check formatting
run: mvn --errors --no-transfer-progress spotless:check -Pscala-2.12
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
profile:
- scala-2.12
- scala-2.13
steps:
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: 8
distribution: adopt
- name: Checkout code
uses: actions/checkout@v3
- name: Cache Maven packages
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Run tests
run: mvn --errors --no-transfer-progress test -Pscala-2.12