Skip to content

chore(misc): revamp

chore(misc): revamp #1

Workflow file for this run

name: Lint rolldebee/api
on:
pull_request:
branches:
- main
paths:
- "api/**"
- "!api/README.md"
jobs:
ktlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
curl -sSLO https://github.com/pinterest/ktlint/releases/download/1.4.0/ktlint && chmod a+x ktlint && sudo mv ktlint /usr/local/bin/
- name: run ktlint
run: |
ktlint --reporter=checkstyle,output=build/ktlint-report.xml
continue-on-error: true
- uses: yutailang0119/action-ktlint@v4
with:
report-path: build/*.xml
continue-on-error: false