Skip to content

Merge pull request #337 from Yubico/dependabot/gradle/com.diffplug.sp… #673

Merge pull request #337 from Yubico/dependabot/gradle/com.diffplug.sp…

Merge pull request #337 from Yubico/dependabot/gradle/com.diffplug.sp… #673

# This name is shown in the status badge in the README
name: code-formatting
on:
push:
branches-ignore:
- 'tmp**'
pull_request:
branches-ignore:
- 'tmp**'
jobs:
test:
name: JDK ${{matrix.java}}
runs-on: ubuntu-latest
strategy:
matrix:
java: [17]
distribution: [temurin]
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: ${{ matrix.distribution }}
- name: Check code formatting
run: ./gradlew spotlessCheck