From 2a77492630185c4df69f12e6b6c104e731267a89 Mon Sep 17 00:00:00 2001 From: ChrisRackauckas-Claude Date: Wed, 3 Jun 2026 12:25:31 -0400 Subject: [PATCH] Centralize CI on SciML reusable workflows Convert Runic, SpellCheck, and Downgrade to centralized @v1 callers; Tests was already a tests.yml@v1 caller. Clean up dependabot.yml. - FormatCheck.yml: inline fredrikekre/runic-action -> runic.yml@v1 - SpellCheck.yml: inline crate-ci/typos -> spellcheck.yml@v1 - Downgrade.yml: inline -> downgrade.yml@v1 (preserve julia-version 1.10, skip Pkg,TOML, and the disabling `if: false`) - All callers get secrets: "inherit" - dependabot.yml: drop crate-ci/typos ignore; julia block over "/" only (/test has no Project.toml) Co-Authored-By: Chris Rackauckas Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/dependabot.yml | 4 ---- .github/workflows/Downgrade.yml | 25 +++++++------------------ .github/workflows/FormatCheck.yml | 12 +++--------- .github/workflows/SpellCheck.yml | 8 ++------ 4 files changed, 12 insertions(+), 37 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 8846004..1fb7fba 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,13 +5,9 @@ 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: - "/" - - "/test" schedule: interval: "daily" groups: diff --git a/.github/workflows/Downgrade.yml b/.github/workflows/Downgrade.yml index 42c6b76..e3e97f2 100644 --- a/.github/workflows/Downgrade.yml +++ b/.github/workflows/Downgrade.yml @@ -11,22 +11,11 @@ on: paths-ignore: - 'docs/**' jobs: - test: + downgrade: if: false # Disabled: waiting on OrdinaryDiffEq updates. See #87 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..1223235 100644 --- a/.github/workflows/SpellCheck.yml +++ b/.github/workflows/SpellCheck.yml @@ -5,9 +5,5 @@ 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 + uses: "SciML/.github/.github/workflows/spellcheck.yml@v1" + secrets: "inherit"