Skip to content

Fetch tags in git checkout #800

Fetch tags in git checkout

Fetch tags in git checkout #800

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