Skip to content

Update dependency io.kotest:kotest-runner-junit5 to v6 #103

Update dependency io.kotest:kotest-runner-junit5 to v6

Update dependency io.kotest:kotest-runner-junit5 to v6 #103

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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: 'Set up JDK 24'
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
with:
java-version: 24
distribution: temurin
- uses: sbt/setup-sbt@f20dc1bc1f8be605c44ffbcec6f17f708a4af9d1 # v1.1.12
- name: 'Build all examples'
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'