Skip to content

Identicon lights. Sensor rotation initial work. #80

Identicon lights. Sensor rotation initial work.

Identicon lights. Sensor rotation initial work. #80

Workflow file for this run

name: Lint, Unit & Instrumented Tests
on:
push:
branches:
- development
- main
pull_request:
types:
- opened
- reopened
- synchronize
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
lint-test:
name: Lint And Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Download ktlint
run: curl -sSLO https://github.com/pinterest/ktlint/releases/download/1.1.1/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
- name: Process ktlint report
uses: yutailang0119/action-ktlint@v3
with:
report-path: build/*.xml # Support glob patterns by https://www.npmjs.com/package/@actions/glob
continue-on-error: false # If annotations contain error of severity, action-ktlint exit 1.