diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 700707ced3..02f70fcda3 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,7 +1,18 @@ -# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates +# https://docs.github.com/en/code-security/reference/supply-chain-security/dependabot-options-reference version: 2 updates: - package-ecosystem: "github-actions" directory: "/" # Location of package manifests schedule: interval: "weekly" + - package-ecosystem: "julia" + # Location of Julia projects + directories: + - "/" + - "lib/EnzymeCore" + - "lib/EnzymeTestUtils" + schedule: + interval: "weekly" + ignore: + # Ignore package itself + - dependency-name: "Enzyme" diff --git a/.github/workflows/CompatHelper.yml b/.github/workflows/CompatHelper.yml deleted file mode 100644 index 5cc182a168..0000000000 --- a/.github/workflows/CompatHelper.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: CompatHelper - -on: - schedule: - - cron: '0 0 * * *' - workflow_dispatch: - -jobs: - CompatHelper: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v6 - - name: Get Julia compatibility - id: julia_compat - # NOTE: this requires a julia compat lower-bound with minor version! - run : | - version=$(grep '^julia = ' Project.toml | grep -o '".*"' | cut -d '"' -f2) - echo "::set-output name=version::$version" - - uses: julia-actions/setup-julia@v2 - with: - version: ${{ steps.julia_compat.outputs.version }} - arch: x64 - show-versioninfo: true - - name: Pkg.add - shell: julia --color=yes {0} - run: | - import Pkg - Pkg.add("CompatHelper") - - name: CompatHelper.main - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - shell: julia --color=yes {0} - run: | - import CompatHelper - CompatHelper.main(; include_jll = true, subdirs = ["", "docs", "deps", "lib/EnzymeCore", "lib/EnzymeTestUtils"]) diff --git a/Project.toml b/Project.toml index dce78c2c50..a58f706185 100644 --- a/Project.toml +++ b/Project.toml @@ -66,3 +66,6 @@ StaticArrays = "90137ffa-7385-5640-81b9-e52037218182" [sources.EnzymeCore] path = "lib/EnzymeCore" + +[workspace] +projects = ["docs", "test"] diff --git a/lib/EnzymeCore/Project.toml b/lib/EnzymeCore/Project.toml index f88e1f2f95..8b96b9fb07 100644 --- a/lib/EnzymeCore/Project.toml +++ b/lib/EnzymeCore/Project.toml @@ -23,3 +23,6 @@ Enzyme = "7da242da-08ed-463a-9acd-ee780be4f1d9" [weakdeps] Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e" ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4" + +[workspace] +projects = ["test"] diff --git a/lib/EnzymeCore/test/Project.toml b/lib/EnzymeCore/test/Project.toml index 0c363327cb..f911204182 100644 --- a/lib/EnzymeCore/test/Project.toml +++ b/lib/EnzymeCore/test/Project.toml @@ -1,2 +1,6 @@ [deps] Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" +EnzymeCore = "f151be2c-9106-41f4-ab19-57ee4f262869" + +[sources] +EnzymeCore = {path = ".."}