Fix CI warnings, make cleanups and improvements to workflows#984
Open
digital-carver wants to merge 1 commit into
Open
Fix CI warnings, make cleanups and improvements to workflows#984digital-carver wants to merge 1 commit into
digital-carver wants to merge 1 commit into
Conversation
Fix the [various warnings](https://github.com/JuliaEditorSupport/JuliaFormatter.jl/actions/runs/25787399735) when running CI, and make some additional improvements. * Allow manual CI runs with `workflow_dispatch` * Give each job a 2 hour timeout duration (instead of the default 6 hours) * `macos-15` is ARM, not Intel, so set the Intel one to the correct `macos-15-intel` * This also allows us to upgrade setup-julia from 2 to 3 which was [failing due to this error](JuliaEditorSupport#980) - or rather, aborting redundant runs, since there's already a separate `macos-latest - aarch64` which was the same runner. (Subsumes JuliaEditorSupport#980 ) * Remove an unnecessary `exclude` of `x86` which wasn't included in the first place * Upgrade `actions/checkout` to v6 (subsumes JuliaEditorSupport#955 ) * Make use of `julia-actions/cache` in CI too, not just PreCommit * In PreCommit.yaml: * Upgrade setup-uv action to v8 and use exact version as [recommended](https://github.com/astral-sh/setup-uv/releases/tag/v8.0.0) * Remove `pre-commit install` automatic git hook setup, as we're explicitly running `pre-commit run` * Subsume JuliaEditorSupport#981 for cache action upgrade
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix the various warnings when running CI, and make some additional improvements.
workflow_dispatchmacos-15is ARM, not Intel, so set the Intel one to the correctmacos-15-intelmacos-latest - aarch64which was the same runner. (Subsumes Bump julia-actions/setup-julia from 2 to 3 #980 )excludeofx86which wasn't included in the first placeactions/checkoutto v6 (subsumes Bump actions/checkout from 4 to 6 #955 )julia-actions/cachein CI too, not just PreCommitpre-commit installautomatic git hook setup, as we're explicitly runningpre-commit runand not depending on any automatic hooks