Skip to content

Commit a606e62

Browse files
Centralize CI to use SciML reusable workflows
Convert all CI workflows to the centralized SciML/.github reusable workflows (@v1) with `secrets: "inherit"`: - Documentation: inline build/deploy -> documentation.yml@v1 - FormatCheck (Runic): inline runic-action -> runic.yml@v1 - SpellCheck (typos): inline crate-ci/typos -> spellcheck.yml@v1 - Downgrade: inline -> downgrade.yml@v1 (preserve `if: false` disable and julia-version 1.10, skip Pkg,TOML) - Tests: already a tests.yml@v1 caller (unchanged) Cleanup: - Delete CompatHelper.yml (handled centrally / by dependabot) - dependabot.yml: drop crate-ci/typos ignore, add julia ecosystem block over /, /docs, /test (daily, grouped all-julia-packages) Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com> Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 0e5f739 commit a606e62

6 files changed

Lines changed: 22 additions & 72 deletions

File tree

.github/dependabot.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ updates:
55
directory: "/" # Location of package manifests
66
schedule:
77
interval: "weekly"
8-
ignore:
9-
- dependency-name: "crate-ci/typos"
10-
update-types: ["version-update:semver-patch", "version-update:semver-minor"]
8+
- package-ecosystem: "julia"
9+
directories:
10+
- "/"
11+
- "/docs"
12+
- "/test"
13+
schedule:
14+
interval: "daily"
15+
groups:
16+
all-julia-packages:
17+
patterns:
18+
- "*"

.github/workflows/CompatHelper.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

.github/workflows/Downgrade.yml

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,8 @@ on:
1313
jobs:
1414
test:
1515
if: false # Disabled pending dependency updates - see issue #142
16-
runs-on: ubuntu-latest
17-
strategy:
18-
matrix:
19-
downgrade_mode: ['alldeps']
20-
julia-version: ['1.10']
21-
steps:
22-
- uses: actions/checkout@v6
23-
- uses: julia-actions/setup-julia@v3
24-
with:
25-
version: ${{ matrix.julia-version }}
26-
- uses: julia-actions/julia-downgrade-compat@v2
27-
with:
28-
skip: Pkg,TOML
29-
- uses: julia-actions/julia-buildpkg@v1
30-
- uses: julia-actions/julia-runtest@v1
31-
with:
32-
ALLOW_RERESOLVE: false
16+
uses: "SciML/.github/.github/workflows/downgrade.yml@v1"
17+
with:
18+
julia-version: "1.10"
19+
skip: "Pkg,TOML"
20+
secrets: "inherit"

.github/workflows/FormatCheck.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,5 @@ on:
1111

1212
jobs:
1313
runic:
14-
runs-on: ubuntu-latest
15-
steps:
16-
- uses: actions/checkout@v6
17-
- uses: julia-actions/setup-julia@v3
18-
with:
19-
version: '1'
20-
- uses: fredrikekre/runic-action@v1
21-
with:
22-
version: '1'
14+
uses: "SciML/.github/.github/workflows/runic.yml@v1"
15+
secrets: "inherit"

.github/workflows/SpellCheck.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,5 @@ on: [pull_request]
44

55
jobs:
66
typos-check:
7-
name: Spell Check with Typos
8-
runs-on: ubuntu-latest
9-
steps:
10-
- name: Checkout Actions Repository
11-
uses: actions/checkout@v6
12-
- name: Check spelling
13-
uses: crate-ci/typos@v1.35.3
7+
uses: "SciML/.github/.github/workflows/spellcheck.yml@v1"
8+
secrets: "inherit"

.github/workflows/documentation.yml

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -9,23 +9,5 @@ on:
99

1010
jobs:
1111
build:
12-
runs-on: ubuntu-latest
13-
steps:
14-
- uses: actions/checkout@v6
15-
- uses: julia-actions/setup-julia@latest
16-
with:
17-
version: '1'
18-
- name: Install dependencies
19-
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
20-
- name: Build and deploy
21-
env:
22-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
23-
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key
24-
GKSwstype: "100" # no output on headless systems
25-
run: julia --project=docs/ --code-coverage=user docs/make.jl
26-
- uses: julia-actions/julia-processcoverage@v1
27-
- uses: codecov/codecov-action@v6
28-
with:
29-
files: lcov.info
30-
token: ${{ secrets.CODECOV_TOKEN }}
31-
fail_ci_if_error: true
12+
uses: "SciML/.github/.github/workflows/documentation.yml@v1"
13+
secrets: "inherit"

0 commit comments

Comments
 (0)