From ef0a1eceef856913801e56247211085d13f5a192 Mon Sep 17 00:00:00 2001 From: Michael Goerz Date: Tue, 17 Oct 2023 11:41:50 -0400 Subject: [PATCH] Test against oldest declared dependencies --- .github/workflows/ci.yml | 16 +++++++++++++++- Project.toml | 8 ++++---- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a74996e..08f2c8a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -63,7 +63,21 @@ jobs: version: ${{ matrix.version }} - uses: julia-actions/cache@v1 - name: "Instantiate test environment" - run: julia --project=test devrepl.jl + shell: julia --project=test {0} + run: | + import Pkg + println("*** Dev-Installing DocumenterCitations") + Pkg.develop(path=pwd()) + println("*** Pinning minimal dependencies") + Pkg.pin([ + Pkg.PackageSpec(name="AbstractTrees", version="0.4.0"), + Pkg.PackageSpec(name="Bibliography", version="0.2.15"), + Pkg.PackageSpec(name="Documenter", version="1.0.0"), + Pkg.PackageSpec(name="MarkdownAST", version="0.1.2"), + Pkg.PackageSpec(name="OrderedCollections", version="1.6.0"), + ]) + Pkg.precompile() + Pkg.status() - name: "Run tests" shell: julia --color=yes --project=test --depwarn="yes" --check-bounds="yes" {0} run: | diff --git a/Project.toml b/Project.toml index 8d6729c..7175576 100644 --- a/Project.toml +++ b/Project.toml @@ -13,9 +13,9 @@ OrderedCollections = "bac558e1-5e72-5ebc-8fee-abe8a469f55d" Unicode = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5" [compat] -AbstractTrees = "^0.4" -Bibliography = "^0.2" +AbstractTrees = "0.4" +Bibliography = "0.2.15" Documenter = "1" MarkdownAST = "0.1.2" -OrderedCollections = "1" -julia = "^1.6" +OrderedCollections = "1.6" +julia = "1.6"