[build, github workflow] Rework and simplify the Scala Plugin GitHub Workflow with the latest versions of actions #410
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
on: | |
push: | |
branches: [ idea243.x ] | |
pull_request: | |
branches: [ idea243.x ] | |
jobs: | |
build_and_test: | |
name: Scala Plugin Build & Test | |
runs-on: ubuntu-latest | |
env: | |
JAVA_OPTS: -Xmx8192m -XX:ReservedCodeCacheSize=512m | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: | | |
8 | |
11 | |
17 | |
- uses: sbt/setup-sbt@v1 | |
- uses: coursier/cache-action@v6 | |
- name: Compile and package | |
run: sbt clean packageArtifact Test/compile | |
- name: Run internationalization bundle tests | |
run: sbt runJUnit5Tests | |
- name: Run typechecker tests | |
run: sbt runTypeInferenceTests | |
- name: Run assorted tests | |
run: sbt runFastTests |