Update plugin org.jetbrains.kotlin.jvm to v2.2.0 (#575) #5
This file contains hidden or 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: Build all examples | |
on: | |
push: | |
branches: | |
- main | |
- 'r5.*' | |
pull_request: | |
branches: | |
- '*' | |
permissions: | |
contents: read | |
jobs: | |
linux: | |
name: Linux | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: 'Set up JDK 21' | |
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1 | |
with: | |
java-version: 21 | |
distribution: temurin | |
- uses: sbt/setup-sbt@6c68d2fe8dfbc0a0534d70101baa2e0420e1a506 # v1.1.9 | |
- name: 'Build all examples using JShell' | |
run: java src/Builder.java | |
- name: 'Check automation for updating versions' | |
run: java src/Updater.java 42 | |
if: github.repository == 'junit-team/junit-examples' && github.ref == 'refs/heads/main' | |
- name: 'Check automation for injecting a staging repository' | |
run: java src/StagingRepoInjector.java https://example.org/service/local/repositories/orgjunit-1234/content | |
if: github.repository == 'junit-team/junit-examples' && github.ref == 'refs/heads/main' |