Skip to content

Bump actions/setup-java from 5.6.0 to 5.7.0 #111

Bump actions/setup-java from 5.6.0 to 5.7.0

Bump actions/setup-java from 5.6.0 to 5.7.0 #111

Workflow file for this run

name: PR
on:
pull_request:
branches:
- main
- '*.x'
workflow_dispatch:
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
# Setup go for Buf CLI's license-header support
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: 'stable'
cache: false # Disable built-in caching as there is no go.mod/go.sum
- uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/pom.xml') }} # pom.xml contains Buf CLI version
restore-keys: |
${{ runner.os }}-go-
- name: Setup Java JDK
uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0
with:
java-version: '21'
distribution: 'temurin'
check-latest: true
cache: 'maven'
- name: Build
run: ./mvnw --batch-mode verify