Skip to content

Automatically run setup steps based on environment kinds and add release workflow#11

Merged
petebachant merged 13 commits into
mainfrom
setup
Jun 3, 2026
Merged

Automatically run setup steps based on environment kinds and add release workflow#11
petebachant merged 13 commits into
mainfrom
setup

Conversation

@petebachant

@petebachant petebachant commented Jun 3, 2026

Copy link
Copy Markdown
Member

Calkit projects can basically run with just a checkout and this action.

Resolves #10

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the composite GitHub Action to automatically detect environment “kinds” from calkit.yaml and run the appropriate toolchain setup steps (e.g., uv/Calkit, Python, Conda, Pixi, Julia, R, MATLAB, Docker Buildx) before executing the Calkit pipeline, simplifying user workflows.

Changes:

  • Added a “Detect setup requirements” step and conditional setup steps in action.yml based on detected environment kinds and tool availability.
  • Simplified the example workflow by removing explicit uv/Calkit install steps, relying on the action to perform setup.
  • Updated README copy to describe the new automatic setup behavior.

Reviewed changes

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

File Description
README.md Updates usage docs to describe automatic environment-based setup and simplifies the example workflow snippet.
example.yml Removes explicit uv/Calkit install steps in the example workflow to match the new action behavior.
action.yml Implements environment-kind detection plus conditional tool setup steps before running Calkit/DVC operations.

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

Comment thread action.yml
Comment thread action.yml Outdated
Comment thread action.yml Outdated
Comment thread action.yml Outdated
Comment thread action.yml Outdated
Comment thread README.md Outdated
Comment thread example.yml Outdated
Comment thread action.yml Outdated
petebachant and others added 6 commits June 2, 2026 17:09
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

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

Comment thread action.yml
Comment thread action.yml
@petebachant petebachant changed the title Automatically run setup steps based on environment kinds Automatically run setup steps based on environment kinds and add release workflow Jun 3, 2026
@petebachant petebachant merged commit b74eff3 into main Jun 3, 2026
2 checks passed
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.

This should install Calkit and any system-level dependencies if possible

2 participants