Skip to content

Commit 2e377d5

Browse files
authored
Spring cleanup (#134)
* Fix header in docs * Update CI * Reunite CI * Remove noise * No noise * Cleanup benchmarks * Fix * Fix docs build
1 parent 1da0257 commit 2e377d5

13 files changed

Lines changed: 200 additions & 2600 deletions

File tree

.github/workflows/CI.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
arch: [x64]
2424
allow_failure: [false]
2525
steps:
26-
- uses: actions/checkout@v2
26+
- uses: actions/checkout@v4
2727
- uses: julia-actions/setup-julia@v1
2828
with:
2929
version: ${{ matrix.version }}
@@ -39,20 +39,20 @@ jobs:
3939
fail_ci_if_error: true
4040
docs:
4141
name: Documentation
42+
permissions:
43+
contents: write
44+
statuses: write
4245
runs-on: ubuntu-latest
4346
steps:
44-
- uses: actions/checkout@v2
47+
- uses: actions/checkout@v4
4548
- uses: julia-actions/setup-julia@v1
4649
with:
4750
version: '1'
48-
- uses: julia-actions/julia-buildpkg@v1
49-
- uses: julia-actions/julia-docdeploy@v1
51+
- uses: julia-actions/cache@v1
52+
- name: Install dependencies
53+
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
54+
- name: Build and deploy
5055
env:
51-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
52-
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
53-
- run: |
54-
julia --project=docs -e '
55-
using Documenter: DocMeta, doctest
56-
using ImplicitDifferentiation
57-
DocMeta.setdocmeta!(ImplicitDifferentiation, :DocTestSetup, :(using ImplicitDifferentiation); recursive=true)
58-
doctest(ImplicitDifferentiation)'
56+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token
57+
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # If authenticating with SSH deploy key
58+
run: julia --project=docs/ docs/make.jl

0 commit comments

Comments
 (0)