All Projects → arduino → arduino-lint-action

arduino / arduino-lint-action

Licence: MIT License
GitHub Actions action to check Arduino projects for problems

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to arduino-lint-action

Android-CICD
This repo demonstrates how to work on CI/CD for Mobile Apps 📱 using Github Actions 💊 + Firebase Distribution 🎉
Stars: ✭ 37 (+85%)
Mutual labels:  continuous-integration, ci, linter, github-actions
Format.cmake
💅 Stylize your code! Automatic clang-format and cmake-format targets for CMake.
Stars: ✭ 94 (+370%)
Mutual labels:  continuous-integration, ci, linter
overview
Automate your workflows with GitHub actions for MATLAB.
Stars: ✭ 40 (+100%)
Mutual labels:  continuous-integration, ci, github-actions
github-act-runner
act as self-hosted runner
Stars: ✭ 68 (+240%)
Mutual labels:  continuous-integration, ci, github-actions
qodana-action
⚙️ Scan your Java, Kotlin, PHP, Python, JavaScript, TypeScript projects at GitHub with Qodana
Stars: ✭ 112 (+460%)
Mutual labels:  continuous-integration, ci, github-actions
megalinter
🦙 Mega-Linter analyzes 48 languages, 22 formats, 19 tooling formats, excessive copy-pastes, spelling mistakes and security issues in your repository sources with a GitHub Action, other CI tools or locally.
Stars: ✭ 534 (+2570%)
Mutual labels:  ci, linter, github-actions
xray-action
... a GitHub action to import test results into "Xray" - A complete Test Management tool for Jira.
Stars: ✭ 16 (-20%)
Mutual labels:  continuous-integration, ci, github-actions
arduino-lint
Tool to check for problems with Arduino projects
Stars: ✭ 63 (+215%)
Mutual labels:  continuous-integration, ci, linter
changed-files
Github action to retrieve all (added, copied, modified, deleted, renamed, type changed, unmerged, unknown) files and directories.
Stars: ✭ 733 (+3565%)
Mutual labels:  continuous-integration, ci, github-actions
Flint
Fast and configurable filesystem (file and directory names) linter
Stars: ✭ 115 (+475%)
Mutual labels:  continuous-integration, ci, linter
Cml
♾️ CML - Continuous Machine Learning | CI/CD for ML
Stars: ✭ 2,843 (+14115%)
Mutual labels:  continuous-integration, ci, github-actions
setup-scheme
Github Actions CI / CD setup for Scheme
Stars: ✭ 13 (-35%)
Mutual labels:  continuous-integration, ci, github-actions
makefiles
No description or website provided.
Stars: ✭ 23 (+15%)
Mutual labels:  continuous-integration, ci, linter
prettier
🔨 Native, blazingly-fast Prettier CLI on Github Actions
Stars: ✭ 19 (-5%)
Mutual labels:  continuous-integration, ci, github-actions
AndroidFastlaneCICD
📱A sample repository to demonstrate the Automate publishing🚀 app to the Google Play Store with GitHub Actions⚡+ Fastlane🏃.
Stars: ✭ 82 (+310%)
Mutual labels:  ci, github-actions
github-create-release-action
Github Action that create Github Release automatically
Stars: ✭ 28 (+40%)
Mutual labels:  continuous-integration, github-actions
action-rubocop
Run rubocop with reviewdog 🐶
Stars: ✭ 83 (+315%)
Mutual labels:  linter, github-actions
link-snitch
GitHub Action to scan your site for broken links so you can fix them 🔗
Stars: ✭ 50 (+150%)
Mutual labels:  continuous-integration, github-actions
bump-everywhere
🚀 Automate versioning, changelog creation, README updates and GitHub releases using GitHub Actions,npm, docker or bash.
Stars: ✭ 24 (+20%)
Mutual labels:  continuous-integration, github-actions
breakcheck
Backwards compatibility linter for Go.
Stars: ✭ 66 (+230%)
Mutual labels:  ci, linter

arduino/arduino-lint-action

Tests Status Integration Tests Status Check Packaging status Check TypeScript Configuration status Check npm status Spellcheck Status

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

  • Libraries
  • Sketches
  • Boards platforms
  • Boards Manager package indexes

Table of contents

Inputs

path

Path containing Arduino project(s).

Default: ./

version

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

compliance

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

Supported values

  • strict - enforces best practices, above and beyond the minimum requirements for specification compliance. Use this setting to ensure the best experience for the users of the project.
  • specification - enforces compliance with the official Arduino project specifications.
  • permissive - will cause the checks to fail only when severe problems are found. Although a project that passes at the permissive setting will work with the current Arduino development software versions, it may not be fully specification-compliant, risking incompatibility or a poor experience for the users.

Default: specification

library-manager

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

Supported values

  • submit - Also run additional checks required to pass before a library is accepted for inclusion in the index.
  • update- Also run additional checks required to pass before new releases of a library already in the index are accepted.
  • false - Don't run any Library Manager-specific checks.

Default: submit for libraries, false for other project types

project-type

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

Supported values

  • sketch
  • library
  • platform - boards platform
  • package-index - Boards Manager package index
  • all - Run checks on any type of project that is detected

Default: all

recursive

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

Default: false

report-file

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

verbose

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

Default: false

token

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

Default: GITHUB_TOKEN

Usage

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@v2
      - uses: arduino/arduino-lint-action@v1

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@v2
      - uses: arduino/arduino-lint-action@v1
        with:
          library-manager: update
          compliance: strict

Contributing

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].