Skip to content

feat: add setup task#50

Merged
rbarker-dev merged 2 commits intomainfrom
23-add-new-setup-task-option
Apr 14, 2026
Merged

feat: add setup task#50
rbarker-dev merged 2 commits intomainfrom
23-add-new-setup-task-option

Conversation

@rbarker-dev
Copy link
Copy Markdown
Contributor

@rbarker-dev rbarker-dev commented Apr 14, 2026

Description

This pull request adds support for setting up the Task runner (go-task) as part of the GitHub Action workflow. It introduces new inputs for configuring Task setup, updates documentation, and modifies the workflow and action definitions to handle these new options.

Task runner integration:

  • Added new inputs to action.yml for Task setup: setup-task, task-version, and task-retries, with appropriate defaults and descriptions. Also updated the checkout-token description to clarify its use for Task setup. [1] [2]
  • Updated the action's run steps to conditionally set up Task using the provided inputs and the go-task/setup-task action, including a step to log Task setup parameters.

Workflow and documentation updates:

  • Modified .github/workflows/test.yml to pass Task-related inputs to jobs and added a new test-setup-task job to verify Task setup in CI. [1] [2]
  • Updated README.md to document the new Task-related inputs and their usage.

Related Issue(s)

Closes #23

Copilot AI review requested due to automatic review settings April 14, 2026 19:32
@rbarker-dev rbarker-dev self-assigned this Apr 14, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an opt-in “setup task” capability to the composite action to install/configure the task runner, aligning with Issue #23’s request to support Task setup as part of job initialization.

Changes:

  • Introduces new inputs (setup-task, task-version, task-retries) and a go-task/setup-task step in action.yml.
  • Documents the new Task inputs in README.md.
  • Extends CI workflow coverage by invoking the new Task setup path in .github/workflows/test.yml (including a dedicated job).

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 5 comments.

File Description
action.yml Adds Task-related inputs and composite steps to install Task via go-task/setup-task.
README.md Documents Task inputs and their intended usage.
.github/workflows/test.yml Exercises the new setup-task inputs in CI, including a new job.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/test.yml Outdated
Comment thread action.yml Outdated
Comment thread action.yml
Comment thread README.md
Comment thread .github/workflows/test.yml
Signed-off-by: Roger Barker <roger.barker@swirldslabs.com>

chore: Update README

Signed-off-by: Roger Barker <roger.barker@swirldslabs.com>

chore: Update harden-runner

Signed-off-by: Roger Barker <roger.barker@swirldslabs.com>

chore: Fix GITHUB_TOKEN

Signed-off-by: Roger Barker <roger.barker@swirldslabs.com>

chore: Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Roger Barker <roger.barker@swirldslabs.com>
@rbarker-dev rbarker-dev force-pushed the 23-add-new-setup-task-option branch from 9c6bbcd to 5306f04 Compare April 14, 2026 19:43
Comment thread .github/workflows/test.yml Outdated
Co-authored-by: Andrew Brandt <andrew.brandt@hashgraph.com>
Signed-off-by: Roger Barker <roger.barker@swirldslabs.com>
@rbarker-dev rbarker-dev merged commit 738aade into main Apr 14, 2026
11 checks passed
@rbarker-dev rbarker-dev deleted the 23-add-new-setup-task-option branch April 14, 2026 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add new setup-option for task

3 participants