Bump com.diffplug.spotless from 6.22.0 to 6.23.3 #844
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: CI | |
on: [push, pull_request] | |
jobs: | |
validation: | |
name: "Validate Gradle Wrapper" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: gradle/wrapper-validation-action@v1 | |
build: | |
name: Build on ${{ matrix.os.runner }} | |
runs-on: ${{ matrix.os.runner }} | |
defaults: | |
run: | |
shell: ${{ matrix.os.shell }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- runner: macos-latest | |
shell: bash | |
- runner: windows-latest | |
shell: msys2 {0} | |
- runner: ubuntu-latest | |
shell: bash | |
steps: | |
- uses: msys2/setup-msys2@v2 | |
if: ${{ runner.os == 'Windows' }} | |
with: | |
msystem: MINGW64 | |
update: true | |
path-type: inherit | |
install: >- | |
tar | |
make | |
mingw-w64-x86_64-gcc | |
mingw-w64-x86_64-cmake | |
mingw-w64-x86_64-extra-cmake-modules | |
mingw64/mingw-w64-x86_64-cyrus-sasl | |
- uses: actions/checkout@v4 | |
- name: Restore native cache | |
id: cache-native | |
uses: actions/cache@v3.3.2 | |
with: | |
path: | | |
scripts/build | |
key: ${{ runner.os }}-native-${{ hashFiles('./scripts/*') }} | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: 11 | |
- name: Restore Gradle cache | |
id: cache-gradle | |
uses: actions/cache@v3.3.2 | |
with: | |
path: | | |
~/.gradle/caches | |
~/.gradle/wrapper | |
~/.gradle/yarn | |
~/.gradle/nodejs | |
~/.konan | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | |
restore-keys: ${{ runner.os }}-gradle- | |
- name: Gradle Build | |
run: ./gradlew clean build spotlessCheck --stacktrace |