Skip to content

Resolve deprecation warning #1395

Resolve deprecation warning

Resolve deprecation warning #1395

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'