Skip to content

Commit f067a57

Browse files
authored
Add ForwardDiff@1 for v0.2 (#177)
* Add ForwardDiff@1 compatibility * Fix CI
1 parent 9073362 commit f067a57

File tree

3 files changed

+6
-15
lines changed

3 files changed

+6
-15
lines changed

.github/workflows/CI.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -33,21 +33,12 @@ jobs:
3333
arch: x64
3434
coverage: true
3535
steps:
36-
- uses: actions/checkout@v2
37-
- uses: julia-actions/setup-julia@v1
36+
- uses: actions/checkout@v4
37+
- uses: julia-actions/setup-julia@v2
3838
with:
3939
version: ${{ matrix.version }}
4040
arch: ${{ matrix.arch }}
41-
- uses: actions/cache@v1
42-
env:
43-
cache-name: cache-artifacts
44-
with:
45-
path: ~/.julia/artifacts
46-
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
47-
restore-keys: |
48-
${{ runner.os }}-test-${{ env.cache-name }}-
49-
${{ runner.os }}-test-
50-
${{ runner.os }}-
41+
- uses: julia-actions/cache@v2
5142
- uses: julia-actions/julia-buildpkg@latest
5243
- uses: julia-actions/julia-runtest@latest
5344
- uses: julia-actions/julia-processcoverage@v1

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "AdvancedVI"
22
uuid = "b5ca4192-6429-45e5-a2d9-87aec30a685c"
3-
version = "0.2.11"
3+
version = "0.2.12"
44

55
[deps]
66
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"
@@ -39,7 +39,7 @@ DistributionsAD = "0.2, 0.3, 0.4, 0.5, 0.6"
3939
DocStringExtensions = "0.8, 0.9"
4040
Enzyme = "0.13"
4141
LinearAlgebra = "1.6"
42-
ForwardDiff = "0.10.3"
42+
ForwardDiff = "0.10.3, 1"
4343
Flux = "0.14"
4444
ProgressMeter = "1.0.0"
4545
Random = "1.6"

test/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
1515
[compat]
1616
Distributions = "0.21, 0.22, 0.23, 0.24, 0.25"
1717
DistributionsAD = "0.2, 0.3, 0.4, 0.5, 0.6"
18-
ForwardDiff = "0.10.3"
18+
ForwardDiff = "0.10.3, 1"

0 commit comments

Comments
 (0)