From f06dcadfea6166ec46d95de1e865c14e438fd598 Mon Sep 17 00:00:00 2001 From: ChrisRackauckas-Claude Date: Wed, 3 Jun 2026 12:32:51 -0400 Subject: [PATCH] Centralize CI on SciML reusable workflows Convert Runic (inline fredrikekre/runic-action) to the centralized runic.yml@v1 caller, and add centralized SpellCheck and Downgrade callers. Tests and Documentation were already central callers; added secrets: "inherit" is present on all callers. Co-Authored-By: Chris Rackauckas Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/Downgrade.yml | 32 +++++++++++++++++++++++++++++++ .github/workflows/FormatCheck.yml | 12 +++--------- .github/workflows/SpellCheck.yml | 9 +++++++++ 3 files changed, 44 insertions(+), 9 deletions(-) create mode 100644 .github/workflows/Downgrade.yml create mode 100644 .github/workflows/SpellCheck.yml diff --git a/.github/workflows/Downgrade.yml b/.github/workflows/Downgrade.yml new file mode 100644 index 0000000..abe859a --- /dev/null +++ b/.github/workflows/Downgrade.yml @@ -0,0 +1,32 @@ +name: "Downgrade" + +on: + push: + branches: + - main + paths-ignore: + - 'docs/**' + pull_request: + branches: + - main + paths-ignore: + - 'docs/**' + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.ref_name != github.event.repository.default_branch || github.ref != 'refs/tags/v*' }} + +jobs: + downgrade: + name: "Downgrade" + strategy: + fail-fast: false + matrix: + group: + - Core + uses: "SciML/.github/.github/workflows/downgrade.yml@v1" + with: + group: ${{ matrix.group }} + julia-version: "lts" + skip: "Pkg,TOML" + secrets: "inherit" diff --git a/.github/workflows/FormatCheck.yml b/.github/workflows/FormatCheck.yml index 6253546..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@v2 - 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 new file mode 100644 index 0000000..e408b94 --- /dev/null +++ b/.github/workflows/SpellCheck.yml @@ -0,0 +1,9 @@ +name: "Spell Check" + +on: [pull_request] + +jobs: + typos-check: + name: "Spell Check with Typos" + uses: "SciML/.github/.github/workflows/spellcheck.yml@v1" + secrets: "inherit"