Skip to content

Merge pull request #427 from Yubico/dependabot/github_actions/actions… #963

Merge pull request #427 from Yubico/dependabot/github_actions/actions…

Merge pull request #427 from Yubico/dependabot/github_actions/actions… #963

# 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@v5
- name: Set up JDK
uses: actions/setup-java@v5
with:
java-version: ${{ matrix.java }}
distribution: ${{ matrix.distribution }}
- name: Check code formatting
run: ./gradlew spotlessCheck