Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial implementation of workflow #1

Merged
merged 5 commits into from
Jan 31, 2025
Merged

Conversation

mitchnielsen
Copy link
Collaborator

@mitchnielsen mitchnielsen commented Jan 29, 2025

Summary

Adds a workflow to upgrade tools defined in mise.

Modeled after https://github.com/PrefectHQ/actions-updatecli-apply.

Related to https://linear.app/prefect/issue/PLA-961/automate-updating-dependencies-defined-in-mise

Testing

As far as I can tell, we can't really test this workflow until a caller references it (with that change merged to main). So I'd propose we merge this and something like PrefectHQ/prefect-helm#435, test it out, and then I can tweak as needed.

As for manually testing the core change, here's the output in prefect-helm from running the mise upgrade --bump command:

diff --git a/.mise.toml b/.mise.toml
index 4864c64..40bdc2d 100644
--- a/.mise.toml
+++ b/.mise.toml
@@ -1,9 +1,9 @@
 [tools]
-actionlint = '1.7.1'
-github-cli = '2.52.0'
-helm = '3.15'
-helm-ct = '3.11.0'
-helm-docs = '1.13.1'
-pre-commit = '3.8.0'
+actionlint = "1.7.7"
+github-cli = "2.65.0"
+helm = "3.17"
+helm-ct = "3.12.0"
+helm-docs = "1.14.2"
+pre-commit = "4.1.0"
 shellcheck = '0.10.0'
 yamllint = '1.35.1'

Copy link

linear bot commented Jan 29, 2025

PLA-961 Automate updating dependencies defined in `mise`

We've recently started using mise to define local tooling dependencies. These are currently not automatically updated to align with new versions. Let's look into automating those updates.

Acceptance criteria

  • Dependencies in .mise.toml are automatically updated

@mitchnielsen mitchnielsen marked this pull request as ready for review January 29, 2025 20:48
@mitchnielsen mitchnielsen requested a review from a team January 31, 2025 02:52
Copy link

@jamiezieziula jamiezieziula left a comment

Choose a reason for hiding this comment

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

🤘🤘

@mitchnielsen mitchnielsen merged commit 93069ac into main Jan 31, 2025
1 check 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.

2 participants