From e3b2a48ebfbe43000505483eb090213a2a57e126 Mon Sep 17 00:00:00 2001 From: ChrisRackauckas-Claude Date: Wed, 3 Jun 2026 12:33:19 -0400 Subject: [PATCH] Centralize CI on SciML reusable workflows Convert inline CI jobs to the centralized SciML/.github reusable workflows (pinned @v1, secrets: inherit on every caller): - FormatCheck.yml: inline fredrikekre/runic-action -> runic.yml@v1 - SpellCheck.yml: inline crate-ci/typos -> spellcheck.yml@v1 - Downgrade.yml: inline downgrade job -> downgrade.yml@v1 (preserves group=Core, julia-version 1.10, skip Pkg,TOML) Tests.yml and Documentation.yml were already central callers. GPU.yml (self-hosted) and TagBot.yml left unchanged. dependabot.yml: drop crate-ci/typos ignore; point julia ecosystem at the dirs that actually have a Project.toml (/, /docs, /test/GPU). Co-Authored-By: Chris Rackauckas Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/dependabot.yml | 5 +---- .github/workflows/Downgrade.yml | 28 +++++++++------------------- .github/workflows/FormatCheck.yml | 12 +++--------- .github/workflows/SpellCheck.yml | 10 +++------- 4 files changed, 16 insertions(+), 39 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index cd7b7f2..69ffa9b 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,14 +5,11 @@ 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/GPU" schedule: interval: "daily" groups: diff --git a/.github/workflows/Downgrade.yml b/.github/workflows/Downgrade.yml index 8b68dd4..d65c543 100644 --- a/.github/workflows/Downgrade.yml +++ b/.github/workflows/Downgrade.yml @@ -11,26 +11,16 @@ on: paths-ignore: - 'docs/**' jobs: - test: - runs-on: ubuntu-latest + downgrade: + name: "Downgrade" strategy: + fail-fast: false matrix: group: - Core - 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 -# if: ${{ matrix.version == '1.6' }} - with: - skip: Pkg,TOML - - uses: julia-actions/julia-buildpkg@v1 - - uses: julia-actions/julia-runtest@v1 - with: - ALLOW_RERESOLVE: false - env: - GROUP: ${{ matrix.group }} + uses: "SciML/.github/.github/workflows/downgrade.yml@v1" + with: + group: "${{ matrix.group }}" + 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 746b039..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 \ No newline at end of file + name: "Spell Check with Typos" + uses: "SciML/.github/.github/workflows/spellcheck.yml@v1" + secrets: "inherit"