per1234 fb7b0669ca Merge pull request #1 from per1234/dependabot
Configure Dependabot to check for outdated actions used in workflows
2021-05-04 03:16:07 -07:00
2021-05-03 22:24:36 -07:00
2021-05-03 22:24:36 -07:00
2021-05-03 22:24:36 -07:00
2019-08-23 17:30:46 +02:00
2019-10-10 11:52:23 +02:00
2021-05-03 22:24:36 -07:00
2019-08-23 17:30:46 +02:00

arduino/setup-taskfile

This action makes the task binary available to Workflows.

Inputs

version

The version of Task to install. Can be an exact version (e.g., 3.4.2) or a version range (e.g., 3.x).

Default: 3.x

repo-token

(Optional) GitHub access token used for GitHub API requests. Heavy usage of the action can result in workflow run failures caused by rate limiting. GitHub provides a more generous allowance for Authenticated API requests.

It will be convenient to use ${{ secrets.GITHUB_TOKEN }}.

Usage

To get the latest stable version of Task just add this step:

- name: Install Taskfile
  uses: arduino/setup-taskfile@main

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

- name: Install Taskfile
  uses: arduino/setup-taskfile@main
  with:
    version: '2.x'

To pin the exact version:

- name: Install Taskfile
  uses: arduino/setup-taskfile@main
  with:
    version: '2.6.1'

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: security@arduino.cc

Development

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

# npm install

To run the tests:

# npm run test

Enable verbose logging for a pipeline

Additional log events with the prefix ::debug:: can be enabled by setting the secret ACTIONS_STEP_DEBUG to true.

See step-debug-logs for reference.

Release

To release a new version of the Action the workflow should be the following:

  1. npm install to install the dependencies.
  2. npm run test to see everything works as expected.
  3. npm run build to build the Action under the ./lib folder.
  4. npm run pack to package for distribution
  5. git add src dist to check in the code that matters.
  6. open a PR and request a review.
Description
GitHub Actions action to make Task available for use in your workflow.
Readme GPL-3.0 6.1 MiB
Languages
TypeScript 97.9%
JavaScript 2.1%