Skip to content

Bump actions/checkout from 4.1.7 to 4.2.0 #1112

Bump actions/checkout from 4.1.7 to 4.2.0

Bump actions/checkout from 4.1.7 to 4.2.0 #1112

Workflow file for this run

# See https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions
name: build
on:
push:
branches: ['main', 'maintenance/*']
pull_request:
branches: ['main', 'maintenance/*']
schedule:
- cron: '0 0 * * 6'
permissions:
contents: 'read'
jobs:
build:
runs-on: 'ubuntu-latest'
strategy:
matrix:
java: ['8', '11', '17', '21']
steps:
- name: Checkout repository
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: Set up Java ${{ matrix.java }}
uses: actions/setup-java@2dfa2011c5b2a0f1489bf9e433881c92c1631f88 # v4.3.0
with:
distribution: 'zulu'
java-version: ${{ matrix.java }}
cache: 'maven'
- name: Build
run: 'mvn -B formatter:validate verify javadoc:jar'