From a4fff1aac9459edac8eebe93698fb6172bb2bff9 Mon Sep 17 00:00:00 2001 From: Claude Code Date: Sun, 4 Jan 2026 07:18:41 -0500 Subject: [PATCH] Add Runic.jl code formatting MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add CI workflow using fredrikekre/runic-action@v1 - Format all source files with Runic.jl 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .github/workflows/FormatCheck.yml | 19 ++++++++++++++ docs/make.jl | 43 +++++++++++++++++-------------- test/runtests.jl | 1 + 3 files changed, 44 insertions(+), 19 deletions(-) create mode 100644 .github/workflows/FormatCheck.yml diff --git a/.github/workflows/FormatCheck.yml b/.github/workflows/FormatCheck.yml new file mode 100644 index 0000000..6762c6f --- /dev/null +++ b/.github/workflows/FormatCheck.yml @@ -0,0 +1,19 @@ +name: format-check + +on: + push: + branches: + - 'master' + - 'main' + - 'release-' + tags: '*' + pull_request: + +jobs: + runic: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: fredrikekre/runic-action@v1 + with: + version: '1' diff --git a/docs/make.jl b/docs/make.jl index 7d07ce7..e6adf6f 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -3,24 +3,29 @@ using Documenter dir = @__DIR__() * "/.." cp(joinpath(dir, "README.md"), joinpath(dir, "docs", "src", "index.md"), force = true) -makedocs(sitename = "ColPrac", - authors = "Chris Rackauckas", - modules = Module[], - clean = true, doctest = false, - strict = [ - :doctest, - :linkcheck, - :parse_error, - :example_block, - # Other available options are - # :autodocs_block, :cross_references, :docs_block, :eval_block, :example_block, :footnote, :meta_block, :missing_docs, :setup_block - ], - format = Documenter.HTML(analytics = "UA-90474609-3", - assets = ["assets/favicon.ico"], - canonical = "https://docs.sciml.ai/ColPrac/stable/"), - pages = [ - "ColPrac: Contributor's Guide on Collaborative Practices for Community Packages" => "index.md", - ]) +makedocs( + sitename = "ColPrac", + authors = "Chris Rackauckas", + modules = Module[], + clean = true, doctest = false, + strict = [ + :doctest, + :linkcheck, + :parse_error, + :example_block, + # Other available options are + # :autodocs_block, :cross_references, :docs_block, :eval_block, :example_block, :footnote, :meta_block, :missing_docs, :setup_block + ], + format = Documenter.HTML( + analytics = "UA-90474609-3", + assets = ["assets/favicon.ico"], + canonical = "https://docs.sciml.ai/ColPrac/stable/" + ), + pages = [ + "ColPrac: Contributor's Guide on Collaborative Practices for Community Packages" => "index.md", + ] +) deploydocs(; - repo = "github.com/SciML/ColPrac") + repo = "github.com/SciML/ColPrac" +) diff --git a/test/runtests.jl b/test/runtests.jl index e69de29..8b13789 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -0,0 +1 @@ +