Mill support: enable importing projects which contain build.mill(.scala) but not wrapper script #472
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Scala Plugin Build & Test | |
on: | |
push: | |
branches: [ idea242.x idea243.x ] | |
pull_request: | |
branches: [ idea242.x idea243.x ] | |
jobs: | |
build_and_test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: olafurpg/setup-scala@v10 | |
with: | |
java-version: [email protected] | |
- name: Install JDK 8 | |
run: jabba install [email protected] | |
- name: Install JDK 11 | |
run: jabba install [email protected] | |
- name: Cache coursier cache | |
uses: actions/cache@v1 | |
with: | |
path: ~/.coursier/cache | |
key: ${{ runner.os }}-coursier-cache-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/**/*.scala') }} | |
restore-keys: | | |
${{ runner.os }}-coursier-cache-${{ hashFiles('**/*.sbt') }} | |
${{ runner.os }}-coursier-cache | |
- name: Cache ivy cache | |
uses: actions/cache@v1 | |
with: | |
path: ~/.ivy2/cache | |
key: ${{ runner.os }}-ivy-cache-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/**/*.scala') }} | |
restore-keys: | | |
${{ runner.os }}-ivy-cache-${{ hashFiles('**/*.sbt') }} | |
${{ runner.os }}-ivy-cache | |
- name: Cache sbt | |
uses: actions/cache@v1 | |
with: | |
path: ~/.sbt | |
key: ${{ runner.os }}-sbt-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/**/*.scala') }} | |
restore-keys: | | |
${{ runner.os }}-sbt-${{ hashFiles('**/*.sbt') }} | |
${{ runner.os }}-sbt | |
- name: Cache IntelliJ IDEA SDK | |
uses: actions/cache@v1 | |
with: | |
path: ~/.ScalaPluginIC/sdk | |
key: ${{ runner.os }}-idea-${{ hashFiles('project/**/*.scala') }} | |
restore-keys: | | |
${{ runner.os }}-idea | |
- name: compile & package | |
run: sbt -no-colors clean packagePlugin test:compile | |
- name: typechecker tests | |
run: sbt -no-colors runTypeInferenceTests | |
- name: assorted tests | |
run: sbt -no-colors runFastTests |