Update dependency org.jlleitschuh.gradle.ktlint to v12.1.2 #531
Workflow file for this run
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: Build | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set Up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: corretto | |
java-version: 17 | |
- name: Run Plugin Build | |
run: ./gradlew :plugin:build | |
- name: Run Samples Check | |
run: ./gradlew metalavaCheckCompatibility metalavaCheckCompatibilityDebug | |
- name: Copy Test Results | |
if: always() | |
run: | | |
mkdir -p junit | |
find . -type f -regex ".*/build/test-results/.*xml" -exec cp {} junit/ \; | |
- name: Upload Test Results | |
if: always() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: junit-results | |
path: junit |