Coder Social home page Coder Social logo

arduino / actions Goto Github PK

View Code? Open in Web Editor NEW
34.0 14.0 6.0 1.24 MB

Collection of custom Github actions

License: Other

TypeScript 2.91% JavaScript 2.76% Dockerfile 0.44% Shell 0.50% Python 93.39%
typescript github-actions tooling-team arduino

actions's People

Contributors

aentinger avatar andreynering avatar dependabot[bot] avatar endorama avatar masci avatar per1234 avatar sandeepmistry avatar umbynos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

actions's Issues

Rate limit error installing Taskfile

Hi,

Just received the following error using the setup-taskfile GH action.

Run Arduino/actions/setup-taskfile@master
  with:
    version: 2.x
  env:
    AWS_ACCESS_KEY_ID: ***
    AWS_SECRET_ACCESS_KEY: ***
    AWS_REGION: eu-west-2
    TF_WORKSPACE: staging
    GOROOT: /opt/hostedtoolcache/go/1.13.15/x64
##[error]API rate limit exceeded for 40.114.46.0. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)

Install additional dependencies for Dockerfile

Hi,

I am trying to use arduino/actions/libraries/compile-examples for the stm32f103C target (stm32duino/Arduino_Core_STM32. I've added that platform to my repo and specified it via the source-path.

on: ["push"]

jobs:
    arduino:
        runs-on: ubuntu-latest
        steps:
            - uses: actions/checkout@v2
            - uses: arduino/actions/libraries/compile-examples@master
              with:
                  fqbn: "stm32duino:STM32F1:genericSTM32F103C"
                  platforms: |
                      - source-path: ".github/stm32duino/hardware/STM32F1"
                        name: "stm32duino:STM32F1"
                  sketch-paths: |
                      - first_launch
                  libraries: |
                      - name: MPU6050_tockn
                      - name: MS5611
                      - name: SD
                      # SPI and Wire seem to be available per default
                  enable-deltas-report: true

The "Run arduino/actions/libraries/compile-examples@master" step fail with:

Error during build: fork/exec /bin/arm-none-eabi-g++: no such file or directory

I assume arm-none-eabi-g++ (available in ubuntu repos) is needed for building the sketch for the stm32, which is an arm chip, but I couldn't figure out how to install this into the docker image, without forking the repo.
Is there a way?

Thanks in advance! ๐Ÿ‘‹๐Ÿพ

Specify desired core version in CI build

Sometimes it is necessary to not just use the latest version of a Arduino core in a CI build but to specify a specific version.

In case of the ESP8266 Arduino core with version 2.5.0 this could look like this ...

'"esp8266:esp8266:huzzah" "https://arduino.esp8266.com/stable/package_esp8266com_index.json" "2.5.0"' 

Error when using Taskfile installation action

I'm trying to use your Taskfile action in one of my repos.
The Taskfile installation action succeeds but but I got this error when trying to invoke a task defined in Taskfile.yml:

##[debug]Evaluating condition for step: 'Build'
##[debug]Evaluating: success()
##[debug]Evaluating success:
##[debug]=> true
##[debug]Result: true
##[debug]Starting: Build
##[debug]Loading inputs
##[debug]Loading env
Run task build
##[debug]/bin/bash -e /home/runner/work/_temp/64677591-7311-4720-bc1f-1d8822b873af.sh
task: No Taskfile found on "Taskfile.yml". Use "task --init" to create a new one
##[error]Process completed with exit code 1.
##[debug]Finishing: Build

Am I missing something obvious here? Thanks!

Warnings in the logs

I'm using this action like this:

- name: Install Taskfile
        uses: arduino/actions/setup-taskfile@master
        with:
          version: '3.x'
          repo-token: ${{ secrets.GITHUB_TOKEN }}

and I'm getting this warnings:

Warning: Unexpected input(s) 'repo-token', valid inputs are ['version']

Warning: The add-path command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/

Am I missing something?

The example workflow fails during update-index

Run arduino-cli core update-index
Error initializing package manager: cannot initialize package manager: loading hardware packages: loading hardware from C:\Users\runneradmin\AppData\Local\Arduino15\packages: C:\Users\runneradmin\AppData\Local\Arduino15\packages is not a directory
Error initializing package manager: cannot initialize package manager: loading hardware packages: loading hardware from C:\Users\runneradmin\AppData\Local\Arduino15\packages: C:\Users\runneradmin\AppData\Local\Arduino15\packages is not a directory
##[error]Process completed with exit code 1.

Add ability to exclude directories for spell-check action.

Since we often bundle external resources with our libraries it doesn't make sense to check those files for misspelled words if they are being maintained upstream. Therefore the spell-check should be extended to allow the specification of directories which need to be excluded from the spell verification.

@per1234 - I've just added this issue here so in order to keep track of this feature (since its easy to loose track of tasks just mentioned on slack).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.