From e56f678d271ab32498af46266a667dc5d3632b0e Mon Sep 17 00:00:00 2001 From: ChrisRackauckas-Claude Date: Wed, 3 Jun 2026 12:25:58 -0400 Subject: [PATCH] Centralize CI on SciML reusable workflows Convert remaining inline CI workflows to the centralized SciML reusable callers (pinned @v1, secrets: "inherit"): - FormatCheck.yml (Runic): inline fredrikekre/runic-action -> runic.yml@v1 - SpellCheck.yml: inline crate-ci/typos -> spellcheck.yml@v1 - Downgrade.yml: inline downgrade -> downgrade.yml@v1 (preserves if:false, julia-version 1.10, skip Pkg,TOML) Tests.yml and Documentation.yml were already central callers; left as-is. dependabot.yml: remove crate-ci/typos version ignore (typos now pinned by the central spellcheck workflow); add /test/nopre to the julia ecosystem directories (it has its own Project.toml). Co-Authored-By: Chris Rackauckas Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/dependabot.yml | 4 +--- .github/workflows/Downgrade.yml | 23 ++++++----------------- .github/workflows/FormatCheck.yml | 12 +++--------- .github/workflows/SpellCheck.yml | 10 +++------- 4 files changed, 13 insertions(+), 36 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index cd7b7f2..6e23b51 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,14 +5,12 @@ updates: directory: "/" # Location of package manifests schedule: interval: "weekly" - ignore: - - dependency-name: "crate-ci/typos" - update-types: ["version-update:semver-patch", "version-update:semver-minor"] - package-ecosystem: "julia" directories: - "/" - "/docs" - "/test" + - "/test/nopre" schedule: interval: "daily" groups: diff --git a/.github/workflows/Downgrade.yml b/.github/workflows/Downgrade.yml index 05faa61..549d5b1 100644 --- a/.github/workflows/Downgrade.yml +++ b/.github/workflows/Downgrade.yml @@ -13,20 +13,9 @@ on: jobs: test: if: false # Disabled: needs investigation. See #66 for details. - runs-on: ubuntu-latest - strategy: - matrix: - downgrade_mode: ['alldeps'] - julia-version: ['1.10'] - steps: - - uses: actions/checkout@v6 - - uses: julia-actions/setup-julia@v3 - with: - version: ${{ matrix.julia-version }} - - uses: julia-actions/julia-downgrade-compat@v2 - with: - skip: Pkg,TOML - - uses: julia-actions/julia-buildpkg@v1 - - uses: julia-actions/julia-runtest@v1 - with: - ALLOW_RERESOLVE: false \ No newline at end of file + name: Downgrade + uses: "SciML/.github/.github/workflows/downgrade.yml@v1" + with: + julia-version: "1.10" + skip: "Pkg,TOML" + secrets: "inherit" diff --git a/.github/workflows/FormatCheck.yml b/.github/workflows/FormatCheck.yml index ee667ce..32f2e1f 100644 --- a/.github/workflows/FormatCheck.yml +++ b/.github/workflows/FormatCheck.yml @@ -11,12 +11,6 @@ on: jobs: runic: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v6 - - uses: julia-actions/setup-julia@v3 - with: - version: '1' - - uses: fredrikekre/runic-action@v1 - with: - version: '1' + name: "Runic" + uses: "SciML/.github/.github/workflows/runic.yml@v1" + secrets: "inherit" diff --git a/.github/workflows/SpellCheck.yml b/.github/workflows/SpellCheck.yml index a8e5983..a134515 100644 --- a/.github/workflows/SpellCheck.yml +++ b/.github/workflows/SpellCheck.yml @@ -4,10 +4,6 @@ on: [pull_request] jobs: typos-check: - name: Spell Check with Typos - runs-on: ubuntu-latest - steps: - - name: Checkout Actions Repository - uses: actions/checkout@v6 - - name: Check spelling - uses: crate-ci/typos@v1.18.0 + name: "Spell Check with Typos" + uses: "SciML/.github/.github/workflows/spellcheck.yml@v1" + secrets: "inherit"