Skip to content

Update github/codeql-action action to v3.29.1 #29

Update github/codeql-action action to v3.29.1

Update github/codeql-action action to v3.29.1 #29

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 24'
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
with:
java-version: 24
distribution: temurin
- uses: sbt/setup-sbt@234370af1319038bf8dc432f8a7e4b83078a1781 # v1.1.11
- 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'