ci: change architecture #326
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: Lint | |
on: [pull_request, workflow_dispatch, workflow_call] | |
concurrency: | |
group: lint-${{ github.event.number }} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'microsoft' | |
cache: gradle | |
- name: Run Lint | |
run: ./gradlew ktLint | |
continue-on-error: true | |
- name: Get Lint Reports | |
uses: yutailang0119/action-ktlint@v3 | |
with: | |
report-path: build/reports/ktlint/*.xml | |
continue-on-error: false |