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