Skip to content

Add support for defining the application/library type of scala-native project #229

Add support for defining the application/library type of scala-native project

Add support for defining the application/library type of scala-native project #229

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
paths-ignore:
- 'README.md'
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
jobs:
style-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: coursier/cache-action@v6
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: Check formatting
run:
./mill -i __.checkFormat
- name: Check scalafix
run:
./mill -i __.fix --check
test:
runs-on: 'ubuntu-latest'
strategy:
fail-fast: false
matrix:
java: ['11', '17']
steps:
- uses: actions/checkout@v4
- uses: coursier/cache-action@v6
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Tests
run:
./mill -i __.test
mima:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: coursier/cache-action@v6
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: MiMa Check
run:
./mill -i __.mimaReportBinaryIssues