All Projects → arduino → setup-arduino-cli

arduino / setup-arduino-cli

Licence: MIT license
GitHub Action to setup Arduino CLI

Programming Languages

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

Projects that are alternatives of or similar to setup-arduino-cli

compile-sketches
GitHub Actions action that checks whether Arduino sketches compile and produces a report of data from the compilations
Stars: ✭ 35 (-40.68%)
Mutual labels:  github-actions, tooling-team
setup-protoc
GitHub Action to setup the protoc compiler for protocol buffers
Stars: ✭ 58 (-1.69%)
Mutual labels:  github-actions, tooling-team
github-stats-box
📌 Update a gist to contain your GitHub stats
Stars: ✭ 72 (+22.03%)
Mutual labels:  github-actions
rspec-github
Formatter for RSpec to show errors in GitHub action annotations
Stars: ✭ 33 (-44.07%)
Mutual labels:  github-actions
actions
🧰 Collection of github actions for automation
Stars: ✭ 28 (-52.54%)
Mutual labels:  github-actions
Github-Android-Action
Android Github Action that builds Android project, runs unit tests and generates debug APK, builds for Github Actions hackathon
Stars: ✭ 29 (-50.85%)
Mutual labels:  github-actions
action-ansible-playbook
⚙️ A GitHub Action for running Ansible playbooks
Stars: ✭ 133 (+125.42%)
Mutual labels:  github-actions
html5validator-action
GitHub Action that checks HTML5 syntax.
Stars: ✭ 27 (-54.24%)
Mutual labels:  github-actions
nextjs-github-pages
🚀 Deploy a Next.js app to Github Pages via Github Actions.
Stars: ✭ 89 (+50.85%)
Mutual labels:  github-actions
gitrivy
GitHub Issue + Trivy Action
Stars: ✭ 46 (-22.03%)
Mutual labels:  github-actions
vidyabhandary
Self updating profile readme for github
Stars: ✭ 36 (-38.98%)
Mutual labels:  github-actions
deploy-firebase
A GitHub Action to deploy to Firebase Hosting
Stars: ✭ 63 (+6.78%)
Mutual labels:  github-actions
actions
GitHub Actions for R-hub
Stars: ✭ 18 (-69.49%)
Mutual labels:  github-actions
github-actions-all-in-one-project
Automatically add an issue or pull request to specific GitHub Project when you create them.
Stars: ✭ 27 (-54.24%)
Mutual labels:  github-actions
releasezri
Meaningful and minimalist release notes for developers
Stars: ✭ 25 (-57.63%)
Mutual labels:  github-actions
gh fsync
🔄 GitHub action to sync files across repos in GitHub
Stars: ✭ 17 (-71.19%)
Mutual labels:  github-actions
labeler
GitHub Action to assign labels to PRs based on configurable conditions
Stars: ✭ 47 (-20.34%)
Mutual labels:  github-actions
100 Days Of Go
100 days of Go learning
Stars: ✭ 24 (-59.32%)
Mutual labels:  github-actions
translation-action
GitHub action that translates any text to any language supported by chosen provider.
Stars: ✭ 25 (-57.63%)
Mutual labels:  github-actions
blackcater
Using Node.js to generate my Github profile readme automatically.
Stars: ✭ 84 (+42.37%)
Mutual labels:  github-actions

setup-arduino-cli

Actions Status

This action makes the arduino-cli tool available to Workflows.

Usage

To get the latest stable version of arduino-cli just add this step:

- name: Install Arduino CLI
  uses: arduino/setup-arduino-cli@v1

If you want to pin a major or minor version you can use the .x wildcard:

- name: Install Arduino CLI
  uses: arduino/setup-arduino-cli@v1
  with:
    version: "0.x"

To pin the exact version:

- name: Install Arduino CLI
  uses: arduino/setup-arduino-cli@v1
  with:
    version: "0.5.0"

Examples

Here there is a good example on how to use the action. See also the Arduino on GitHub Actions blogpost to learn more.

Development

To work on the codebase you have to install all the dependencies:

# npm install

To run tests set the environment variable GITHUB_TOKEN with a valid Personal Access Token and then:

# npm run test

See the official Github documentation to know more about Personal Access Tokens.

Release

  1. npm install to add all the dependencies, included development.
  2. npm run build to build the Action under the ./lib folder.
  3. npm run test to see everything works as expected.
  4. npm run pack to package for distribution
  5. git add src dist to check in the code that matters.
  6. If the release will increment the major version, update the action refs in the examples in README.md (e.g., uses: arduino/setup-arduino-cli@v1 -> uses: arduino/setup-arduino-cli@v2).
  7. open a PR and request a review.
  8. After PR is merged, create a release, following the vX.Y.Z tag name convention.
  9. After the release, rebase the release branch for that major version (e.g., v1 branch for the v1.x.x tags) on the tag. If no branch exists for the release's major version, create one.

Security

If you think you found a vulnerability or other security-related bug in this project, please read our security policy and report the bug to our Security Team 🛡️ Thank you!

e-mail contact: [email protected]

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].