Bump com.google.guava:guava from 33.3.1-jre to 33.4.0-jre #41
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: Spotless Style Check | |
description: Check the formatting. Use "mvn spotless:apply" to format the code. | |
on: | |
push: | |
jobs: | |
check-formatting: | |
runs-on: ubuntu-latest | |
name: Check style | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@v4 | |
# Sets up Java version | |
- name: Set up Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'adopt' | |
java-package: jdk | |
java-version: '17' | |
# Tycho requires at least Maven 3.9.0 | |
- name: Set up Maven | |
uses: stCarolas/setup-maven@v5 | |
with: | |
maven-version: 3.9.0 | |
# Restores Maven dependecies | |
- name: Restore local Maven repository | |
uses: actions/cache@v4 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-maven- | |
- name: Run spotless checks | |
run: mvn spotless:check |