diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 700707ce..0a46b4fc 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,7 +1,20 @@ # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates version: 2 updates: + # Maintain dependencies for GitHub Actions - package-ecosystem: "github-actions" directory: "/" # Location of package manifests schedule: interval: "weekly" + # Maintain compat entries of Julia dependencies (replaces CompatHelper). + # The `docs` project is part of the workspace defined in Project.toml and + # is therefore resolved together with the package. + - package-ecosystem: "julia" + directory: "/" + schedule: + interval: "daily" + groups: + # Group all Julia package updates into a single PR + all-julia-packages: + patterns: + - "*" diff --git a/.github/workflows/CompatHelper.yml b/.github/workflows/CompatHelper.yml deleted file mode 100644 index d94b38df..00000000 --- a/.github/workflows/CompatHelper.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: CompatHelper -on: - schedule: - - cron: 0 0 * * * - workflow_dispatch: -jobs: - CompatHelper: - runs-on: ubuntu-latest - steps: - - 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" - Pkg.add(; name, uuid, version) - shell: julia --color=yes {0} - - name: "Run CompatHelper" - run: | - import CompatHelper - CompatHelper.main() - shell: julia --color=yes {0} - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }} - # COMPATHELPER_PRIV: ${{ secrets.COMPATHELPER_PRIV }} diff --git a/Project.toml b/Project.toml index 396b3f7f..65fee756 100644 --- a/Project.toml +++ b/Project.toml @@ -47,3 +47,6 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [targets] test = ["Calculus", "DiffTests", "IrrationalConstants", "JET", "SparseArrays", "StaticArrays", "Test", "InteractiveUtils"] + +[workspace] +projects = ["docs"]