[build, github workflow] Rework and simplify the Scala Plugin GitHub Workflow with the latest versions of actions #400
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 | |
shell: bash | |
run: sbt clean packageArtifact Test/compile | |
- name: Run internationalization bundle tests | |
shell: bash | |
run: sbt runJUnit5Tests | |
- name: Run typechecker tests | |
shell: bash | |
run: sbt runTypeInferenceTests | |
- name: Run assorted tests | |
shell: bash | |
run: sbt runFastTests |