From 84d3bd9b116124a7ebc8755194d4d97deb4f68ff Mon Sep 17 00:00:00 2001 From: ChrisRackauckas-Claude Date: Wed, 3 Jun 2026 12:27:28 -0400 Subject: [PATCH] Centralize CI on SciML reusable workflows Convert the remaining inline CI workflows to the centralized reusable workflows in SciML/.github, pinned at @v1 with secrets: "inherit". - FormatCheck.yml: inline fredrikekre/runic-action -> runic.yml@v1 - SpellCheck.yml: inline crate-ci/typos -> spellcheck.yml@v1 - Downgrade.yml: inline -> downgrade.yml@v1 (preserving if: false, julia-version 1.10, skip Pkg,TOML, allow-reresolve false) - Tests.yml already used tests.yml@v1 (unchanged) - dependabot.yml: remove crate-ci/typos ignore; narrow julia block to / (no test/Project.toml exists) 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 | 11 ++--------- .github/workflows/SpellCheck.yml | 9 ++------- 4 files changed, 11 insertions(+), 38 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 0aa0e65..515ab30 100644 --- a/.github/workflows/Downgrade.yml +++ b/.github/workflows/Downgrade.yml @@ -11,22 +11,11 @@ on: paths-ignore: - 'docs/**' jobs: - test: + downgrade: if: false - 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 + uses: "SciML/.github/.github/workflows/downgrade.yml@v1" + with: + julia-version: "1.10" + skip: "Pkg,TOML" + allow-reresolve: false + secrets: "inherit" diff --git a/.github/workflows/FormatCheck.yml b/.github/workflows/FormatCheck.yml index ee667ce..8dad791 100644 --- a/.github/workflows/FormatCheck.yml +++ b/.github/workflows/FormatCheck.yml @@ -11,12 +11,5 @@ 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' + uses: "SciML/.github/.github/workflows/runic.yml@v1" + secrets: "inherit" diff --git a/.github/workflows/SpellCheck.yml b/.github/workflows/SpellCheck.yml index a8e5983..434bc76 100644 --- a/.github/workflows/SpellCheck.yml +++ b/.github/workflows/SpellCheck.yml @@ -4,10 +4,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"