From ffdff1c8e89c4b9e91e651287ef1dc7069b2fcb1 Mon Sep 17 00:00:00 2001 From: ChrisRackauckas-Claude Date: Wed, 3 Jun 2026 12:28:26 -0400 Subject: [PATCH] Centralize CI on SciML reusable workflows Convert all CI workflows to the centralized SciML/.github reusable callers (pinned @v1, each with secrets: inherit): - FormatCheck (inline fredrikekre/runic-action) -> Runic.yml calling runic.yml@v1 - SpellCheck (inline crate-ci/typos) -> spellcheck.yml@v1 - Downgrade (inline julia-downgrade-compat) -> downgrade.yml@v1 (preserving if: false, julia 1.10, skip Pkg,TOML, allow-reresolve false) Tests.yml already used tests.yml@v1; left unchanged (already has secrets: inherit). Delete CompatHelper.yml. Remove the crate-ci/typos ignore from dependabot.yml. Co-Authored-By: Chris Rackauckas Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/dependabot.yml | 3 --- .github/workflows/CompatHelper.yml | 26 -------------------------- .github/workflows/Downgrade.yml | 23 ++++++----------------- .github/workflows/FormatCheck.yml | 22 ---------------------- .github/workflows/Runic.yml | 18 ++++++++++++++++++ .github/workflows/SpellCheck.yml | 11 +++-------- 6 files changed, 27 insertions(+), 76 deletions(-) delete mode 100644 .github/workflows/CompatHelper.yml delete mode 100644 .github/workflows/FormatCheck.yml create mode 100644 .github/workflows/Runic.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 24f3eb4..6e8af15 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,9 +5,6 @@ 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" directory: "/" schedule: diff --git a/.github/workflows/CompatHelper.yml b/.github/workflows/CompatHelper.yml deleted file mode 100644 index 0fe6c37..0000000 --- a/.github/workflows/CompatHelper.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: CompatHelper - -on: - schedule: - - cron: '00 * * * *' - issues: - types: [opened, reopened] - -jobs: - build: - runs-on: ${{ matrix.os }} - strategy: - matrix: - julia-version: [1] - julia-arch: [x86] - os: [ubuntu-latest] - steps: - - uses: julia-actions/setup-julia@latest - with: - version: ${{ matrix.julia-version }} - - name: Pkg.add("CompatHelper") - run: julia -e 'using Pkg; Pkg.add("CompatHelper")' - - name: CompatHelper.main() - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: julia -e 'using CompatHelper; CompatHelper.main()' diff --git a/.github/workflows/Downgrade.yml b/.github/workflows/Downgrade.yml index b8e9e3b..42c079c 100644 --- a/.github/workflows/Downgrade.yml +++ b/.github/workflows/Downgrade.yml @@ -13,20 +13,9 @@ on: jobs: test: if: false # Disabled pending dependency updates - see issue #58 - runs-on: ubuntu-latest - strategy: - matrix: - downgrade_mode: ['alldeps'] - julia-version: ['1.10'] - steps: - - uses: actions/checkout@v6 - - uses: julia-actions/setup-julia@v2 - 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" \ No newline at end of file diff --git a/.github/workflows/FormatCheck.yml b/.github/workflows/FormatCheck.yml deleted file mode 100644 index 6253546..0000000 --- a/.github/workflows/FormatCheck.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: format-check - -on: - push: - branches: - - 'master' - - 'main' - - 'release-' - tags: '*' - pull_request: - -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' diff --git a/.github/workflows/Runic.yml b/.github/workflows/Runic.yml new file mode 100644 index 0000000..6c4b288 --- /dev/null +++ b/.github/workflows/Runic.yml @@ -0,0 +1,18 @@ +name: format-check + +on: + push: + branches: + - 'master' + - 'main' + - 'release-' + tags: '*' + pull_request: + +jobs: + runic: + uses: "SciML/.github/.github/workflows/runic.yml@v1" + with: + julia-version: "1" + runic-version: "1" + secrets: "inherit" diff --git a/.github/workflows/SpellCheck.yml b/.github/workflows/SpellCheck.yml index a8e5983..11175bb 100644 --- a/.github/workflows/SpellCheck.yml +++ b/.github/workflows/SpellCheck.yml @@ -3,11 +3,6 @@ name: Spell Check 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 + spellcheck: + uses: "SciML/.github/.github/workflows/spellcheck.yml@v1" + secrets: "inherit"