A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/arduino/arduino-lint-action below:

arduino/arduino-lint-action: GitHub Actions action to check Arduino projects for problems

arduino/arduino-lint-action

GitHub Actions action that uses Arduino Lint to check for problems with Arduino projects:

Path containing Arduino project(s).

Default: ./

The version of Arduino Lint to use. Can be an exact version (e.g., 1.0.0) or a version range (e.g., 1.x).

Default: 1.x

Configure how strict the tool is about which checks are considered errors vs warnings if they don't pass.

Default: specification

Configure the checks for libraries in the Arduino Library Manager index.

Default: submit for libraries, false for other project types

Configures which types of projects to check, along with their subprojects.

Default: all

Set to true to search path recursively for Arduino projects to check.

Default: false

Save a JSON formatted report on the checks to this file.

Set to true to show more information in the log about the checks being run.

Default: false

GitHub access token used to get information from the GitHub API.

Default: GITHUB_TOKEN

The minimal workflow to run the default checks on the projects in the repository:

on: [push, pull_request]
jobs:
  lint:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: arduino/arduino-lint-action@v2

A more complex workflow which uses inputs to configure the action for Library Manager "update" mode and strict compliance:

on: [push, pull_request]
jobs:
  lint:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: arduino/arduino-lint-action@v2
        with:
          library-manager: update
          compliance: strict

To report bugs or make feature requests, please submit an issue: https://github.com/arduino/arduino-lint-action/issues

Pull requests are welcome! Please see the contribution guidelines for information.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4