From fcd341bf9296811853bcaeb15275ee9a78ae5781 Mon Sep 17 00:00:00 2001 From: Avik Pal Date: Thu, 18 Dec 2025 20:51:58 -0500 Subject: [PATCH] ci: use dependabot instead of compat helper --- .github/dependabot.yml | 7 +++++ .github/workflows/CompatHelper.yml | 48 ------------------------------ Project.toml | 3 ++ 3 files changed, 10 insertions(+), 48 deletions(-) delete mode 100644 .github/workflows/CompatHelper.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 700707ced3..e9ae210202 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,3 +5,10 @@ updates: directory: "/" # Location of package manifests schedule: interval: "weekly" + + - package-ecosystem: "julia" + directories: + - "/" + - "/lib/ReactantCore" + schedule: + interval: "weekly" diff --git a/.github/workflows/CompatHelper.yml b/.github/workflows/CompatHelper.yml deleted file mode 100644 index 6e8da06dca..0000000000 --- a/.github/workflows/CompatHelper.yml +++ /dev/null @@ -1,48 +0,0 @@ -name: CompatHelper -on: - schedule: - - cron: 0 0 * * * - workflow_dispatch: -permissions: - contents: write - pull-requests: write -jobs: - CompatHelper: - runs-on: ubuntu-latest - steps: - - name: Check if Julia is already available in the PATH - id: julia_in_path - run: which julia - continue-on-error: true - - name: Install Julia, but only if it is not already available in the PATH - uses: julia-actions/setup-julia@v2 - with: - version: '1' - arch: ${{ runner.arch }} - if: steps.julia_in_path.outcome != 'success' - - uses: julia-actions/cache@v2 - - name: "Add the General registry via Git" - run: | - import Pkg - ENV["JULIA_PKG_SERVER"] = "" - Pkg.Registry.add("General") - shell: julia --color=yes {0} - - name: "Install CompatHelper" - run: | - import Pkg - name = "CompatHelper" - uuid = "aa819f21-2bde-4658-8897-bab36330d9b7" - version = "3" - # Temporarily use debugging version - url = "https://github.com/JuliaRegistries/CompatHelper.jl.git" - rev = "f408ea193f9573c68a68d72932bcd56268c60340" - Pkg.add(; url, rev) - shell: julia --color=yes {0} - - name: "Run CompatHelper" - run: | - import CompatHelper - CompatHelper.main(; subdirs=[".", "test", "lib/ReactantCore"]) - shell: julia --color=yes {0} - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # COMPATHELPER_PRIV: ${{ secrets.COMPATHELPER_PRIV }} diff --git a/Project.toml b/Project.toml index d78ee57c16..f9897fe9b5 100644 --- a/Project.toml +++ b/Project.toml @@ -50,6 +50,9 @@ Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" YaoBlocks = "418bc28f-b43b-5e0b-a6e7-61bbc1a2c1df" Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f" +[workspace] +projects = ["docs", "test", "benchmark"] + [sources] ReactantCore = {path = "lib/ReactantCore"}