mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
23 lines
692 B
YAML
23 lines
692 B
YAML
name: Arduino Lint
|
|
on:
|
|
push:
|
|
branches: [ master, release/v8.* ]
|
|
pull_request:
|
|
branches: [ master, release/v8.* ]
|
|
|
|
# https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#concurrency
|
|
# Ensure that only one commit will be running tests at a time on each PR
|
|
concurrency:
|
|
group: ${{ github.ref }}-${{ github.workflow }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
lint:
|
|
if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: arduino/arduino-lint-action@v2
|
|
with:
|
|
library-manager: update
|