From dd4845e08ada14576f6bf9ad21f2d3a44e185500 Mon Sep 17 00:00:00 2001 From: "Anthony D. Blaom" Date: Thu, 8 Oct 2026 09:56:20 +1100 Subject: [PATCH 1/2] CompatHelper -> dependabot --- .github/dependabot.yml | 12 ++++++++++++ .github/workflows/CompatHelper.yml | 16 ---------------- .github/workflows/ci.yml | 2 +- 3 files changed, 13 insertions(+), 17 deletions(-) create mode 100644 .github/dependabot.yml delete mode 100644 .github/workflows/CompatHelper.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..9c3da47 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,12 @@ +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" # Location of package manifests + schedule: + interval: "monthly" + - package-ecosystem: "julia" + directories: # Location of Julia projects + - "/" + schedule: + interval: "weekly" diff --git a/.github/workflows/CompatHelper.yml b/.github/workflows/CompatHelper.yml deleted file mode 100644 index 2876f03..0000000 --- a/.github/workflows/CompatHelper.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: CompatHelper -on: - schedule: - - cron: '00 00 * * *' - workflow_dispatch: -jobs: - CompatHelper: - runs-on: ubuntu-latest - steps: - - name: Pkg.add("CompatHelper") - run: julia -e 'using Pkg; Pkg.add("CompatHelper")' - - name: CompatHelper.main() - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - COMPATHELPER_PRIV: ${{ secrets.COMPATHELPER_PRIV }} # optional - run: julia -e 'using CompatHelper; CompatHelper.main()' \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 91fb6f7..a33d5bd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - - uses: actions/cache@v1 + - uses: julia-actions/cache@v1 env: cache-name: cache-artifacts with: From d6037f1d2fa72081be3f84fe6f4ef99e397f07aa Mon Sep 17 00:00:00 2001 From: "Anthony D. Blaom" Date: Thu, 8 Oct 2026 10:17:02 +1100 Subject: [PATCH 2/2] add REPL to [deps] to fix docstring macro test --- Project.toml | 4 +++- src/IterationControl.jl | 1 + test/utilities.jl | 10 ++++++---- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/Project.toml b/Project.toml index d1e69f8..406f0d7 100644 --- a/Project.toml +++ b/Project.toml @@ -1,14 +1,16 @@ name = "IterationControl" uuid = "b3c1a2ee-3fec-4384-bf48-272ea71de57c" -authors = ["Anthony D. Blaom "] version = "0.5.4" +authors = ["Anthony D. Blaom "] [deps] EarlyStopping = "792122b4-ca99-40de-a6bc-6742525f08b6" InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240" +REPL = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb" [compat] EarlyStopping = "0.3" +REPL = "1.11.0" julia = "1" [extras] diff --git a/src/IterationControl.jl b/src/IterationControl.jl index 84cbbc7..eb01d34 100644 --- a/src/IterationControl.jl +++ b/src/IterationControl.jl @@ -4,6 +4,7 @@ import Base.* import EarlyStopping: done, StoppingCriterion, StoppingCriterion using InteractiveUtils using EarlyStopping +using REPL const ES = EarlyStopping diff --git a/test/utilities.jl b/test/utilities.jl index 2e0eba4..cf27ae4 100644 --- a/test/utilities.jl +++ b/test/utilities.jl @@ -1,8 +1,10 @@ @testset "doc string generation" begin - IterationControl.@create_docs(SquareRooter, - header="header", - example="example", - body="body") + IterationControl.@create_docs( + SquareRooter, + header="header", + example="example", + body="body", + ) paragraphs = split(string(@doc SquareRooter), "\n") @test paragraphs[2] == "header"