Skip to content

Fix CI warnings, make cleanups and improvements to workflows#984

Open
digital-carver wants to merge 1 commit into
JuliaEditorSupport:masterfrom
digital-carver:workflows
Open

Fix CI warnings, make cleanups and improvements to workflows#984
digital-carver wants to merge 1 commit into
JuliaEditorSupport:masterfrom
digital-carver:workflows

Conversation

@digital-carver
Copy link
Copy Markdown
Collaborator

Fix the various warnings 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
  • Remove an unnecessary exclude of x86 which wasn't included in the first place
  • Upgrade actions/checkout to v6 (subsumes Bump actions/checkout from 4 to 6 #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
    • Remove pre-commit install automatic git hook setup, as we're explicitly running pre-commit run and not depending on any automatic hooks
    • Subsume Bump julia-actions/cache from 2 to 3 #981 for cache action upgrade

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
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.

1 participant