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-24.04 steps: - uses: actions/checkout@v4 - uses: arduino/arduino-lint-action@v2 with: library-manager: update