Skip to content

Merge pull request #367 from Yubico/dev-docs #753

Merge pull request #367 from Yubico/dev-docs

Merge pull request #367 from Yubico/dev-docs #753

# 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@v4
with:
java-version: ${{ matrix.java }}
distribution: ${{ matrix.distribution }}
- name: Check code formatting
run: ./gradlew spotlessCheck