Update gradle/actions digest to 473878a (#495) #1402
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
name: Build all samples | |
on: | |
push: | |
branches: | |
- main | |
- 'r5.*' | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
linux: | |
name: Linux | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: 'Set up JDK 21' | |
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4 | |
with: | |
java-version: 21 | |
distribution: temurin | |
- name: 'Build all samples using JShell' | |
run: java src/Builder.java | |
- name: 'Check automation for updating versions' | |
run: java src/Updater.java 42 | |
if: github.repository == 'junit-team/junit5-samples' && github.ref == 'refs/heads/main' |